postinst is in ubuntu-sugar-remix-default-settings 0.5.
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 | #!/bin/sh
set -e
case "$1" in
configure|upgrade)
if [ -x /usr/lib/gdm/gdm-set-default-session ] ; then
/usr/lib/gdm/gdm-set-default-session --keep-old usr || true
fi
if which update-gconf-defaults >/dev/null 2>&1 ; then
mkdir -p /var/lib/gconf/usr.mandatory
mkdir -p /var/lib/gconf/usr.default
update-gconf-defaults --source /usr/share/gconf/usr/mandatory \
--destination /var/lib/gconf/usr.mandatory
update-gconf-defaults --source /usr/share/gconf/usr/default \
--destination /var/lib/gconf/usr.default
fi
;;
esac
|