postrm is in ubuntukylin-default-settings 1.1.10.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
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 18 19 20 21 22 23 24 | #!/bin/sh
set -e
package=ubuntukylin-default-settings
files="
usr/share/unity-control-center/ui/UbuntuLogo.png
"
if [ "$1" = remove -o "$1" = purge ]; then
for item in $files; do
dpkg-divert --package $package --rename --divert "/$item"".orig-brand" --remove "/$item"
done
fi
# Automatically added by dh_ubuntu_defaults
if [ "$1" = remove -o "$1" = abort-install -o "$1" = disappear ]; then
dpkg-divert --package ubuntukylin-default-settings --rename --divert /usr/lib/firefox/distribution/distribution.ini.ubuntu-defaults --remove /usr/lib/firefox/distribution/distribution.ini
fi
# End automatically added section
# Automatically added by dh_ubuntu_defaults
if [ "$1" = remove -o "$1" = abort-install -o "$1" = disappear ]; then
dpkg-divert --package ubuntukylin-default-settings --rename --divert /usr/share/applications/defaults.list.ubuntu-defaults --remove /usr/share/applications/defaults.list
fi
# End automatically added section
|