Updated check_deps_pkg

This commit is contained in:
Ivan Jurišić 2024-04-24 13:15:59 +02:00
parent 550ccddf7f
commit 5bead5947e

View File

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