diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-01-31 17:34:14 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-01-31 17:34:14 -0300 |
commit | 8e5c3b6e3fbab76656e0ff3b811961cf2f2fccbf (patch) | |
tree | 7f36db53237f8c31ed3f12e99868226ab9d6f6e4 /libre/icecat/icecat.install | |
parent | ff137f600f6894f77f9d1e653c5f00924f96f1fb (diff) |
icecat-3.6.13-2
Diffstat (limited to 'libre/icecat/icecat.install')
-rwxr-xr-x | libre/icecat/icecat.install | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libre/icecat/icecat.install b/libre/icecat/icecat.install new file mode 100755 index 000000000..b6bc9abe1 --- /dev/null +++ b/libre/icecat/icecat.install @@ -0,0 +1,23 @@ +#[ "${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" + echo -e " >>> rm -rf /usr/lib/icecat-3.6.*" + echo -e " >>> IceCat now use /usr/lib/icecat-3.6 directory to keep clean the libdir \n" + 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 $* |