Add prompt for re-downloading the utils
parent
c2096bb515
commit
477bd4b948
|
@ -56,7 +56,19 @@ fi
|
||||||
|
|
||||||
pushd "$dir"
|
pushd "$dir"
|
||||||
|
|
||||||
#install_utils
|
if [ ! -d "$download_dir" ]; then
|
||||||
|
install_utils
|
||||||
|
else
|
||||||
|
while true; do
|
||||||
|
echo
|
||||||
|
read -p "The utils seem to already be downloaded, do you want to re-download them and update to the newest version (Y/N) " res
|
||||||
|
case $res in
|
||||||
|
[Yy]* ) install_utils; break;;
|
||||||
|
[Nn]* ) break;;
|
||||||
|
* ) echo "Invalid answer";;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in New Issue