postinst is in nautilus-hide 0.1.3-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 17 | #!/bin/sh
set -e
UPDATE_NOTIF_DIR=/var/lib/update-notifier/user.d
case "$1" in
configure)
if [ -d $UPDATE_NOTIF_DIR ]; then
cp /usr/share/nautilus-hide/nautilus-hide-restart $UPDATE_NOTIF_DIR
fi
echo 'Nautilus, if running, must be restarted for this extension to work (execute "nautilus -q").'
;;
esac
exit 0
|