diff options
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 $* |