post-functions.sh: Invert test for "not no" to "is yes"

Essentially, don't process a "not yes" as an "is yes"
This commit is contained in:
Robby Workman 2018-01-06 17:35:22 -06:00
parent 8c6d8b9947
commit 14ce3da94e

View file

@ -223,7 +223,7 @@ lookkernel() {
Your kernel image was updated. We highly recommend you run: lilo Your kernel image was updated. We highly recommend you run: lilo
Do you want slackpkg to run lilo now? (Y/n)" Do you want slackpkg to run lilo now? (Y/n)"
answer answer
if [ "$ANSWER" != "n" ] && [ "$ANSWER" != "N" ]; then if [ "$ANSWER" = "y" ] || [ "$ANSWER" = "Y" ]; then
/sbin/lilo /sbin/lilo
fi fi
else else