From 048d519c1425ecba05f3f96987cfdae75c0cfbfc Mon Sep 17 00:00:00 2001 From: "sigonasr2, Sig, Sigo" Date: Tue, 17 May 2022 20:19:23 +0000 Subject: [PATCH] Start working on installation setup script --- install | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/install b/install index 9301661..cf8dc5d 100755 --- a/install +++ b/install @@ -1,2 +1,15 @@ echo "Initializing..." FILES=$(ls -dA */) +LANGUAGES=() +for f in $FILES +do + if [ "$f" != "scripts/" ] && [ "$f" != "utils/" ]; + then + LANGUAGES+=(""${f::-1}"") + fi +done +echo "Languages Detected:" +for f in "${LANGUAGES[@]}" +do + printf "\t%-15s\n" $f +done \ No newline at end of file