This commit is contained in:
parent
76d9e0a3bb
commit
6070cfef6e
1 changed files with 11 additions and 11 deletions
|
@ -42,21 +42,21 @@ printf "1-4: "
|
||||||
while true; do
|
while true; do
|
||||||
read -r r
|
read -r r
|
||||||
if [ "${r}" = "1" ]; then
|
if [ "${r}" = "1" ]; then
|
||||||
erase "${repodir}"
|
erase "${repodir}"
|
||||||
printok "remove complete"
|
printok "remove complete"
|
||||||
elif [ "${r}" = "2" ]; then
|
elif [ "${r}" = "2" ]; then
|
||||||
erase "${installdir}"
|
erase "${installdir}"
|
||||||
printok "remove complete"
|
printok "remove complete"
|
||||||
elif [ "${r}" = "3" ]; then
|
elif [ "${r}" = "3" ]; then
|
||||||
erase "${repodir}"
|
erase "${repodir}"
|
||||||
erase "${installdir}"
|
erase "${installdir}"
|
||||||
printok "remove complete"
|
printok "remove complete"
|
||||||
elif [ "${r}" = "4" ]; then
|
elif [ "${r}" = "4" ]; then
|
||||||
break
|
break
|
||||||
else
|
else
|
||||||
printf "%s is not a valid option\n" "${r}"
|
printf "%s is not a valid option\n" "${r}"
|
||||||
printf "1-4: "
|
printf "1-4: "
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
exit
|
exit
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue