fix breaking stuff

This commit is contained in:
th33xitus
2020-07-16 15:14:23 +02:00
parent 1be6cd0a3d
commit ba53517f09

View File

@@ -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