Updated function check_deps_pkg

This commit is contained in:
Ivan Jurišić 2024-04-24 13:17:25 +02:00
parent 5907bc4ff1
commit 53e08f6791

View File

@ -39,7 +39,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 ? "