|
@@ -18,6 +18,14 @@ if [ "${function_selfname}" != "command_install.sh" ]&&[ "${function_selfname}"
|
|
|
check_system_dir.sh
|
|
check_system_dir.sh
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
|
|
+local allowed_commands_array=( command_start.sh )
|
|
|
|
|
+for allowed_command in "${allowed_commands_array[@]}"
|
|
|
|
|
+do
|
|
|
|
|
+ if [ "${allowed_command}" == "${function_selfname}" ]; then
|
|
|
|
|
+ check_executable.sh
|
|
|
|
|
+ fi
|
|
|
|
|
+done
|
|
|
|
|
+
|
|
|
local allowed_commands_array=( command_debug.sh command_start.sh command_install.sh )
|
|
local allowed_commands_array=( command_debug.sh command_start.sh command_install.sh )
|
|
|
for allowed_command in "${allowed_commands_array[@]}"
|
|
for allowed_command in "${allowed_commands_array[@]}"
|
|
|
do
|
|
do
|
|
@@ -83,11 +91,3 @@ do
|
|
|
check_system_requirements.sh
|
|
check_system_requirements.sh
|
|
|
fi
|
|
fi
|
|
|
done
|
|
done
|
|
|
-
|
|
|
|
|
-local allowed_commands_array=( command_start.sh )
|
|
|
|
|
-for allowed_command in "${allowed_commands_array[@]}"
|
|
|
|
|
-do
|
|
|
|
|
- if [ "${allowed_command}" == "${function_selfname}" ]; then
|
|
|
|
|
- check_executable.sh
|
|
|
|
|
- fi
|
|
|
|
|
-done
|
|
|