mirror of
https://gitlab.com/Snogard/kaido.git
synced 2025-06-25 02:13:00 +02:00
added executable flag
This commit is contained in:
parent
fb1b383597
commit
dd6fa672e8
0
src/commands/config.sh
Normal file → Executable file
0
src/commands/config.sh
Normal file → Executable file
0
src/commands/config/config-reverse-proxy.sh
Normal file → Executable file
0
src/commands/config/config-reverse-proxy.sh
Normal file → Executable 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
0
src/commands/install/install-nextcloud.sh
Normal file → Executable file
0
src/commands/install/install-reverse-proxy.sh
Normal file → Executable file
0
src/commands/install/install-reverse-proxy.sh
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user