summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackware.com>2018-01-06 23:23:17 -0600
committerRobby Workman <rworkman@slackware.com>2018-01-06 23:23:28 -0600
commitbc4ea512ee5dbc2ccf999c8e5113d01f4f81081b (patch)
tree15467910c673cc0dd232010ddd200bbddd96f2d5
parentf59af2b4d764b65e4c42a1b8106d90278b398474 (diff)
downloadslackpkg-bc4ea512ee5dbc2ccf999c8e5113d01f4f81081b.tar.xz
Make sure user knows that the warning about -current only shows once
-rw-r--r--files/core-functions.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/files/core-functions.sh b/files/core-functions.sh
index f71259d..667667c 100644
--- a/files/core-functions.sh
+++ b/files/core-functions.sh
@@ -276,6 +276,11 @@ To confirm your choice, press Y, else press N. Then, press Enter: "
read current
if [ "$current" = "Y" ] || [ "$current" = "y" ]; then
touch ${ROOT}/${WORKDIR}/current
+ echo -n "
+Slackpkg will not show this warning again unless you remove the
+${WORKDIR}/current file.
+"
+ sleep 1
else
cleanup
fi