postinst is in wmaker-common 0.95.8-2.
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 22 | #!/bin/sh
set -e
# Automatically added by dh_installdeb/10.7.2ubuntu2
dpkg-maintscript-helper mv_conffile /etc/X11/WindowMaker/background.menu /usr/share/WindowMaker/background.menu 0.95.7-5\~ -- "$@"
dpkg-maintscript-helper mv_conffile /etc/X11/WindowMaker/wmmacros /usr/share/WindowMaker/wmmacros 0.95.7-5\~ -- "$@"
dpkg-maintscript-helper rm_conffile /etc/X11/WindowMaker/appearance.menu 0.95.7-5\~ -- "$@"
dpkg-maintscript-helper rm_conffile /etc/X11/WindowMaker/menu.posthook 0.95.7-5\~ -- "$@"
dpkg-maintscript-helper rm_conffile /etc/X11/WindowMaker/menu.prehook 0.95.7-5\~ -- "$@"
dpkg-maintscript-helper rm_conffile /etc/menu-methods/wmappearance 0.95.8-2\~ -- "$@"
# End automatically added section
# run after debhelper code, which removes menu-methods.
if [ "$1" = "configure" ] &&
[ x"$2" != "x" ] &&
test -e /etc/GNUstep/Defaults/appearance.menu &&
dpkg --compare-versions "$2" '<<' '0.95.8-2~' ; then
if head -n1 /etc/GNUstep/Defaults/appearance.menu |
grep -q 'Automatically generated file. Do not edit.' ; then
rm /etc/GNUstep/Defaults/appearance.menu
fi
fi
|