From 3967b897df9bd0d89b482ce47758eb0d0b036a42 Mon Sep 17 00:00:00 2001 From: Ohio2 Date: Thu, 26 Aug 2021 15:03:00 +0200 Subject: [PATCH] trolld --- aps | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/aps b/aps index d3b9d62..f7f5999 100755 --- a/aps +++ b/aps @@ -14,7 +14,7 @@ else locpkg_database="${install_root}/var/aps/repos" lock="${install_root}/var/aps/lock" official="https://git.hippoz.xyz/alnux/repo" - debug=off + debug=off fi if [ ${debug} = on ]; then set -x @@ -29,8 +29,7 @@ confirm(){ read prompt if [[ ${prompt} = [nN] ]]; then die "User said no. Exiting..." - elif [[ ${prompt} = [yY] ]]; then - else + elif [[ ${prompt} != [yY] ]]; then die "User gave invalid input. Exiting..." fi }