From f5bda64008b160528f013e972d1ad961ced98256 Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Thu, 19 Jan 2017 23:04:41 +0100 Subject: [PATCH] check_executable.sh --- lgsm/functions/check.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lgsm/functions/check.sh b/lgsm/functions/check.sh index 25fead75b..42d0a90b2 100644 --- a/lgsm/functions/check.sh +++ b/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