sogo/debian/sogo.postinst
Jean Raby 7c398279b0 postinst scripts: update timestamp on imgs,css,js to let apache know the files changed
Monotone-Parent: 831fbe8327001cd5d78c09a8787012513b017089
Monotone-Revision: a59a10e4b696e7b04ce4b5dffd0f66574c31525f

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-03-16T15:39:05
2012-03-16 15:39:05 +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