cleanup: do not create postinstall script, if nothing to delete
This commit is contained in:
parent
c6b6304c96
commit
ef7a6561db
@ -6,6 +6,9 @@ if [ -n "$GLOBAL_VERBOSE" ]; then
|
||||
echo "** GLOBAL_CLEANUP_BASE_PACKAGES: $GLOBAL_CLEANUP_BASE_PACKAGES"
|
||||
fi >&2
|
||||
|
||||
[ -n "$GLOBAL_CLEANUP_PACKAGES" ] ||
|
||||
[ -n "$GLOBAL_CLEANUP_BASE_PACKAGES" ] || exit 0
|
||||
|
||||
export GLOBAL_CLEANUP_PACKAGES="$GLOBAL_CLEANUP_PACKAGES \
|
||||
$GLOBAL_CLEANUP_BASE_PACKAGES"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user