mirror of
https://github.com/rworkman/slackpkg
synced 2024-11-17 07:48:12 +01:00
Make sure user knows that the warning about -current only shows once
This commit is contained in:
parent
f59af2b4d7
commit
bc4ea512ee
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue