From 14ce3da94e77745d0cf5bb7d69b628f0c8f78e67 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sat, 6 Jan 2018 17:35:22 -0600 Subject: post-functions.sh: Invert test for "not no" to "is yes" Essentially, don't process a "not yes" as an "is yes" --- files/post-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3