Updated check_deps_pkg
This commit is contained in:
parent
5bead5947e
commit
5907bc4ff1
@ -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 ? "
|
||||
|
Loading…
x
Reference in New Issue
Block a user