summaryrefslogtreecommitdiff
path: root/libre/icecat/icecat.install
blob: b6bc9abe16ce1af57f96ff24c8ffdd32540cbc59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 $*