postinst is in ubuntukylin-keyring 2014.04.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 | #!/bin/sh
if [ "$1" = configure ] && dpkg --compare-versions "$2" lt 2014.04.10; then
# on fresh installs, symlink the keyring to /etc
if [ ! -e /etc/apt/trusted.gpg.d/ubuntukylin-archive-keyring.gpg ]; then
ln -s /usr/share/keyrings/ubuntukylin-archive-keyring.gpg \
/etc/apt/trusted.gpg.d/ubuntukylin-archive-keyring.gpg
fi
fi
|