added executable flag

This commit is contained in:
Snogard 2023-07-22 15:31:33 +02:00
parent fb1b383597
commit dd6fa672e8
5 changed files with 2 additions and 6 deletions

0
src/commands/config.sh Normal file → Executable file
View File

0
src/commands/config/config-reverse-proxy.sh Normal file → Executable file
View File

View File

@ -8,18 +8,14 @@ scriptFolder=${rootFolder}/${prefix}
scriptName=$1
scriptPath=${scriptFolder}/${prefix}-${scriptName}.sh
instanceName=$2
instanceMainPort=$3
instanceVersion=$4
if test -f "$scriptPath"; then
if [[ ! -x "$scriptPath" ]]; then
sudo chmod +x $scriptPath
fi
echo "Executing: $scriptPath $instanceName $instanceMainPort $instanceVersion"
$scriptPath $instanceName $instanceMainPort $instanceVersion $5 $6 $7
echo "Executing: $scriptPath $2 $3 $4 $5 $6 $7"
$scriptPath $2 $3 $4 $5 $6 $7
else
echo "Error file not found: ${scriptPath}"
fi

0
src/commands/install/install-nextcloud.sh Normal file → Executable file
View File

0
src/commands/install/install-reverse-proxy.sh Normal file → Executable file
View File