mkimage-profiles/features.in/cleanup/live/image-scripts.d/90cleanup-pkgs

7 lines
173 B
Plaintext
Raw Normal View History

#!/bin/sh -efu
# remove extra packages from a bare livecd
list="$(rpmquery -a --qf='%{NAME}\n' $GLOBAL_CLEANUP_PACKAGES)"
[ -z "$list" ] || apt-get remove -f -y -- $list
: