From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- libre/icecat/icecat.install | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 libre/icecat/icecat.install (limited to 'libre/icecat/icecat.install') diff --git a/libre/icecat/icecat.install b/libre/icecat/icecat.install new file mode 100644 index 000000000..cefb71c4d --- /dev/null +++ b/libre/icecat/icecat.install @@ -0,0 +1,21 @@ +#[ "${ICECATDIR}" = "" ] && ICECATDIR="/usr/lib/icecat" +post_install () { + echo -e "\n >>> Please, source /etc/profile or logout and re-login to your desktop session" + echo -e " >>> If you installed some locale in the past or some stuff in libdir, please remove old /usr/lib/icecat-3.6.* directories" + update-desktop-database -q +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + post_install $1 +} + +post_remove() { + update-desktop-database -q +} + +#op=$1 +#shift + +#$op $* -- cgit v1.2.3-54-g00ecf