/usr/share/cli-common/gac-remove is in cli-common 0.9.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/bin/bash
if [ ! -x /usr/share/cli-common/runtimes.d/$1 ]; then
echo ! Cannot remove GAC $1
exit 1
fi
echo "* Removing packages from $1"
for file in /usr/share/cli-common/packages.d/*.installcligac
do
if [ -f $file ]; then
/usr/share/cli-common/runtimes.d/$1 remove \
$(basename $file .installcligac)
fi
done
|