Updated function check_deps_pkg
This commit is contained in:
parent
0d7b4befdd
commit
3df236bafb
@ -38,7 +38,7 @@ choice() {
|
||||
check_deps_pkg() {
|
||||
for NAME in "${PKG_DEPS[@]}"
|
||||
do
|
||||
dpkg -l $NAME > /dev/null
|
||||
dpkg -s $NAME 2> /dev/null
|
||||
CODE=$?
|
||||
if ! [ "$CODE" -ne 1 ]; then
|
||||
echo -ne "\nInstall $NAME ? "
|
||||
|
Loading…
x
Reference in New Issue
Block a user