Explorar o código

check_executable.sh

UltimateByte %!s(int64=9) %!d(string=hai) anos
pai
achega
f5bda64008
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      lgsm/functions/check.sh

+ 8 - 0
lgsm/functions/check.sh

@@ -83,3 +83,11 @@ do
 		check_system_requirements.sh
 	fi
 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