Skip to content
Snippets Groups Projects
Commit 333a1e5d authored by Alberto LIVIO BECCARIA's avatar Alberto LIVIO BECCARIA
Browse files

Added warning and abort installation if the argument is 'v1.0' as the old...

Added warning and abort installation if the argument is 'v1.0' as the old installation procedure is different.
parent 0d8faa4d
No related branches found
No related tags found
No related merge requests found
...@@ -40,6 +40,16 @@ else ...@@ -40,6 +40,16 @@ else
echo -e "\nUsing branch/tag '$GIT_BRANCH'.\n" echo -e "\nUsing branch/tag '$GIT_BRANCH'.\n"
fi fi
# v1.0 has a different set of files, print warning and abort installation
if [[ "$GIT_BRANCH" == "v1.0" ]]
then
echo -e "\e[1mWARNING!\e[0m"
echo "Branch 'v1.0' has a different installation procedure, please get"
echo -e "the correct installation script here:\n"
echo -e "$GIT_URL/$GIT_BASE_DIR/v1.0\n"
exit 1
fi
mkdir -p /usr/libexec/labmanager mkdir -p /usr/libexec/labmanager
# script per i servizi systemd # script per i servizi systemd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment