postinst is in ubuntukylin-default-settings 1.3.14.
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 | #!/bin/sh
set -e
FILE_MD5SUM=47d621d5a840d525a1663c12b2ab9e50
FILE_PATH=/etc/apt/sources.list.d
FILE_NAME=ubuntukylin.list
if [ "$1" = configure ]; then
md5sum ${FILE_PATH}/*.list 2>/dev/null | grep -v ${FILE_NAME} | grep ${FILE_MD5SUM} | awk '{print $2}' | xargs rm -f
fi
|