This file is indexed.

postrm is in ubuntukylin-default-settings 1.4.4.

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
#!/bin/sh
set -e
package=ubuntukylin-default-settings

files="
usr/share/ubiquity/pixmaps/ubuntu_installed.png
usr/share/language-selector/data/pkg_depends
"
DISTRIBUTION_FILE=/usr/lib/firefox/distribution/distribution.ini
DISTRIBUTION_UBUNTU=/usr/lib/firefox/distribution/distribution.ini.ubuntu-defaults

if [ "$1" = remove -o "$1" = purge ]; then
	for item in $files; do
		dpkg-divert --package $package --rename --divert "/$item"".orig-brand" --remove "/$item"
	done
        sed -i "/NAME/s/Ubuntu Kylin/Ubuntu/g" /etc/os-release
        rm -f /usr/share/language-support/incomplete-language-support-gnome.note
        if [ -e $DISTRIBUTION_UBUNTU ]; then
            mv $DISTRIBUTION_UBUNTU $DISTRIBUTION_FILE
        fi
fi