Fixed script.Now install package if missing

This commit is contained in:
Ivan Jurišić 2024-04-24 13:05:48 +02:00
parent 2a5c96aee6
commit 8b53f2dcc7

View File

@ -34,7 +34,7 @@ choice() {
check_deps_pkg() {
for NAME in "${PKG_DEPS[@]}"
do
dpkg -l $NAME > /dev/null
dpkg -s $NAME > /dev/null
CODE=$?
if ! [ "$CODE" -ne 1 ]; then
echo -ne "\nInstall $NAME ? "