Skip to content

Commit

Permalink
disabled auto update
Browse files Browse the repository at this point in the history
  • Loading branch information
kwindrem authored Jun 13, 2021
1 parent 76c9e1b commit 83bd5b3
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions setup
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ if [ $scriptAction == 'NONE' ] ; then
echo " Quit (q) without further action"
echo " Display setup log (s) outputs the last 100 lines of the log"
echo
echo " Enable/disable automatic GitHub package updates (g)"
echo " Manually install packages from GitHub or USB stick (p)"
echo
fullPrompt=false
Expand All @@ -73,23 +72,7 @@ if [ $scriptAction == 'NONE' ] ; then
[sS]*)
displayLog $setupLogFile
;;
[gG]*)
if [ -f "$setupOptionsDir/autoGitHubUpdate" ]; then
echo "Automatic GitHub updates are currently ENABLED"
else
echo "Automatic GitHub updates are currently disabled"
fi
read -p "Enable (e) / Disable (d) / no change(cr)?: " response
if [ ! -z $response ]; then
if [ $response == 'e' ] || [ $response == 'E' ]; then
logMessage "enabling automatic GitHub package updates"
touch "$setupOptionsDir/autoGitHubUpdate"
elif [ $response == 'd' ] || [ $response == 'D' ]; then
logMessage "disabling automatic GitHub package updates"
rm -f "$setupOptionsDir/autoGitHubUpdate"
fi
fi
;;

[pP]*)
"$scriptDir/packageInstaller"
fullPrompt=true
Expand All @@ -103,7 +86,7 @@ if [ $scriptAction == 'NONE' ] ; then
fi

if [ $scriptAction == 'INSTALL' ] ; then
installService $packageName
# installService $packageName
fi

if [ $scriptAction == 'UNINSTALL' ] ; then
Expand Down

0 comments on commit 83bd5b3

Please sign in to comment.