Updated check_deps_pkg
This commit is contained in:
parent
3df236bafb
commit
550ccddf7f
@ -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 ? "
|
||||
|
Loading…
x
Reference in New Issue
Block a user