Merge "Avoid to install a blank list of packages"
This commit is contained in:
commit
a595c7c4c7
@ -78,5 +78,9 @@ if [ -n "$WHITELIST" ]; then
|
|||||||
else
|
else
|
||||||
PKGS=$(map-packages $WHITELIST)
|
PKGS=$(map-packages $WHITELIST)
|
||||||
fi
|
fi
|
||||||
run_zypper install $EXTRA_ARGS $PKGS
|
if [ -z "${PKGS}" ]; then
|
||||||
|
echo 'No packages need to be installed'
|
||||||
|
else
|
||||||
|
run_zypper install $EXTRA_ARGS $PKGS
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user