/usr/share/cli-common/framework-remove is in cli-common 0.9+nmu1.
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 17 | #!/bin/bash
if [ ! -x /usr/share/cli-common/runtimes.d/$1 ]; then
echo ! Cannot remove framework $1
exit 1
fi
echo "* Removing packages from $1's framework paths"
for file in /usr/share/cli-common/packages.d/*.installcliframework
do
if [ -f $file ]; then
/usr/share/cli-common/framework-package-remove \
$(basename $file .installcliframework) \
$1
fi
done
|