Updated check_deps_pkg

This commit is contained in:
Ivan Jurišić 2024-04-24 13:15:38 +02:00
parent 3df236bafb
commit 550ccddf7f

View File

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