Update dockcheck.sh

This commit is contained in:
mag37 2023-01-20 11:52:47 +01:00 committed by GitHub
parent 8e6a9b3b8b
commit d5afc8f402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,7 @@ if [ -n "$GotUpdates" ] ; then
if [ -z "$UpdYes" ] ; then
printf "\n\033[36;1mDo you want to update? y/[n]\033[0m\n"
read UpdYes
else
fi
if [ "$UpdYes" != "${UpdYes#[Yy]}" ] ; then
for i in "${GotUpdates[@]}"
do
@ -99,7 +99,6 @@ if [ -n "$GotUpdates" ] ; then
else
printf "\nNo updates installed, exiting.\n"
fi
fi
else
printf "\nNo updates available, exiting.\n"
fi