From ba53517f0970f1632981bc1fe73f838f6966f2df Mon Sep 17 00:00:00 2001 From: th33xitus <> Date: Thu, 16 Jul 2020 15:14:23 +0200 Subject: [PATCH] fix breaking stuff --- scripts/functions.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/scripts/functions.sh b/scripts/functions.sh index f136a1b..d7b3079 100644 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -116,13 +116,14 @@ print_error(){ fi } -pkg_check(){ - #WIP - if [[ $(dpkg-query -f'${Status}' --show $PKG 2>/dev/null) = *\ installed ]]; then - else - sudo apt-get -y install nginx 2>/dev/null - fi -} +#pkg_check(){ +# #WIP +# if [[ $(dpkg-query -f'${Status}' --show $PKG 2>/dev/null) = *\ installed ]]; then +# echo "WIP" +# else +# sudo apt-get -y install $PKG 2>/dev/null +# fi +#} build_fw(){ if [ -d $KLIPPER_DIR ]; then