diff options
author | Robby Workman <rworkman@slackware.com> | 2018-01-06 17:35:22 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackware.com> | 2018-01-06 17:35:22 -0600 |
commit | 14ce3da94e77745d0cf5bb7d69b628f0c8f78e67 (patch) | |
tree | 04e484b4a0961840ce9ebe71dda5afaafd613c18 | |
parent | 8c6d8b9947d58bd92bd7dd662807b0eb528c7563 (diff) | |
download | slackpkg-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"
-rw-r--r-- | files/post-functions.sh | 2 |
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 |