Update dockcheck.sh
This commit is contained in:
parent
8e6a9b3b8b
commit
d5afc8f402
@ -86,7 +86,7 @@ if [ -n "$GotUpdates" ] ; then
|
|||||||
if [ -z "$UpdYes" ] ; then
|
if [ -z "$UpdYes" ] ; then
|
||||||
printf "\n\033[36;1mDo you want to update? y/[n]\033[0m\n"
|
printf "\n\033[36;1mDo you want to update? y/[n]\033[0m\n"
|
||||||
read UpdYes
|
read UpdYes
|
||||||
else
|
fi
|
||||||
if [ "$UpdYes" != "${UpdYes#[Yy]}" ] ; then
|
if [ "$UpdYes" != "${UpdYes#[Yy]}" ] ; then
|
||||||
for i in "${GotUpdates[@]}"
|
for i in "${GotUpdates[@]}"
|
||||||
do
|
do
|
||||||
@ -99,7 +99,6 @@ if [ -n "$GotUpdates" ] ; then
|
|||||||
else
|
else
|
||||||
printf "\nNo updates installed, exiting.\n"
|
printf "\nNo updates installed, exiting.\n"
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
printf "\nNo updates available, exiting.\n"
|
printf "\nNo updates available, exiting.\n"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user