#! /bin/sh # postinst for sash # set -e if [ "$1" = "configure" ] && [ "$2" = "" ] || dpkg --compare-versions "$2" lt "3.7-7.3"; then # initial install or upgrade from old version which didn't call # add-shell properly. add-shell /bin/sash fi # Make sure we get rid of any stuff in /usr/doc if [ -L "/usr/doc/sash" ]; then rm -f "/usr/doc/sash" fi # Automatically added by dh_installmenu/13.11.6 if [ "$1" = "configure" ] && [ -x "`command -v update-menus`" ] && [ -x "$DPKG_ROOT`command -v update-menus`" ]; then update-menus fi # End automatically added section