mirror of
https://github.com/mag37/dockcheck.git
synced 2026-04-17 09:57:49 +00:00
Update dockcheck.sh
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user