Make sure user knows that the warning about -current only shows once

This commit is contained in:
Robby Workman 2018-01-06 23:23:17 -06:00
parent f59af2b4d7
commit bc4ea512ee

View file

@ -276,6 +276,11 @@ To confirm your choice, press Y, else press N. Then, press Enter: "
read current read current
if [ "$current" = "Y" ] || [ "$current" = "y" ]; then if [ "$current" = "Y" ] || [ "$current" = "y" ]; then
touch ${ROOT}/${WORKDIR}/current touch ${ROOT}/${WORKDIR}/current
echo -n "
Slackpkg will not show this warning again unless you remove the
${WORKDIR}/current file.
"
sleep 1
else else
cleanup cleanup
fi fi