postinst is in autokey-qt 0.71.2-1.
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 | #!/bin/sh -e
update-alternatives --install /usr/bin/autokey autokey \
/usr/bin/autokey-qt 60 \
--slave /usr/share/man/man1/autokey.1.gz autokey.1.gz \
/usr/share/man/man1/autokey-qt.1.gz
# Automatically added by dh_pycentral
rm -f /var/lib/pycentral/autokey-qt.pkgremove
if which pycentral >/dev/null 2>&1; then
pycentral pkginstall autokey-qt
if grep -qs '^autokey-qt$' /var/lib/pycentral/delayed-pkgs; then
sed -i '/^autokey-qt$/d' /var/lib/pycentral/delayed-pkgs
fi
fi
# End automatically added section
|