fcf41f2201
mkimage implementation requires that the variables to be passed to the scripts are to be prefixed with GLOBAL_ or INFO_ tags as appropriate; in this case the upstream makefile didn't care to.
8 lines
228 B
Bash
Executable File
8 lines
228 B
Bash
Executable File
#!/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
|