summaryrefslogtreecommitdiffstats
path: root/files/post-functions.sh
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackware.com>2018-01-06 17:35:22 -0600
committerRobby Workman <rworkman@slackware.com>2018-01-06 17:35:22 -0600
commit14ce3da94e77745d0cf5bb7d69b628f0c8f78e67 (patch)
tree04e484b4a0961840ce9ebe71dda5afaafd613c18 /files/post-functions.sh
parent8c6d8b9947d58bd92bd7dd662807b0eb528c7563 (diff)
downloadslackpkg-14ce3da94e77745d0cf5bb7d69b628f0c8f78e67.tar.xz
post-functions.sh: Invert test for "not no" to "is yes"
Essentially, don't process a "not yes" as an "is yes"
Diffstat (limited to 'files/post-functions.sh')
-rw-r--r--files/post-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/post-functions.sh b/files/post-functions.sh
index 1a54136..787f97d 100644
--- a/files/post-functions.sh
+++ b/files/post-functions.sh
@@ -223,7 +223,7 @@ lookkernel() {
Your kernel image was updated. We highly recommend you run: lilo
Do you want slackpkg to run lilo now? (Y/n)"
answer
- if [ "$ANSWER" != "n" ] && [ "$ANSWER" != "N" ]; then
+ if [ "$ANSWER" = "y" ] || [ "$ANSWER" = "Y" ]; then
/sbin/lilo
fi
else