90-cleanup-pkgs 228 Bytes EditWeb IDE 1 2 3 4 5 6 7 #!/bin/sh -efu # remove temporary packages from the installed system [ -n "$GLOBAL_CLEANUP_PACKAGES" ] || exit 0 list="$(rpmquery -a --qf='%{NAME}\n' $GLOBAL_CLEANUP_PACKAGES)" [ -z "$list" ] || apt-get remove -f -y -- $list