sogo/debian-multiarch/sogo.postinst
Wolfgang Sourdeau be172c6d05 Split multiarch build in debian-multiarch for new distros
Monotone-Parent: c50f677f6d597a2c063db713c6e8af3961c44b34
Monotone-Revision: 28e6e54b234c882f7da005f4413e9a5beeae28ef

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-04-10T15:35:51
Monotone-Branch: ca.inverse.sogo
2012-04-10 15:35:51 +00:00

37 lines
948 B
Bash

#!/bin/bash
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
#
PATH=/bin:/sbin:/usr/bin:/usr/sbin
case "$1" in
configure)
# update timestamp on imgs,css,js to let apache know the files changed
find /usr/lib/GNUstep/SOGo/WebServerResources -exec touch {} \;
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 0
;;
esac
#DEBHELPER#
exit 0