c36eafc69c
Monotone-Parent: 0a2787d6259826c9137c4fbee005b7cf638fa317 Monotone-Revision: d538a70c8651aa1849c88eedda7782a21b41b591 Monotone-Author: jraby@inverse.ca Monotone-Date: 2012-08-02T17:40:27
37 lines
948 B
Bash
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
|