Fixed script.Now install package if missing
This commit is contained in:
parent
2a5c96aee6
commit
8b53f2dcc7
2
debian/settings/enable-ntp.sh
vendored
2
debian/settings/enable-ntp.sh
vendored
@ -34,7 +34,7 @@ choice() {
|
||||
check_deps_pkg() {
|
||||
for NAME in "${PKG_DEPS[@]}"
|
||||
do
|
||||
dpkg -l $NAME > /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