From feb321bb10e2073a279fdf781f106f1475a05f03 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 30 Dec 2011 03:35:44 -0500 Subject: Rename iceweasel to iceweasel-libre --- mozilla-testing/iceweasel-libre/iceweasel.install | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 mozilla-testing/iceweasel-libre/iceweasel.install (limited to 'mozilla-testing/iceweasel-libre/iceweasel.install') diff --git a/mozilla-testing/iceweasel-libre/iceweasel.install b/mozilla-testing/iceweasel-libre/iceweasel.install new file mode 100644 index 000000000..376600ec2 --- /dev/null +++ b/mozilla-testing/iceweasel-libre/iceweasel.install @@ -0,0 +1,21 @@ +#[ "${ICDIR}" = "" ] && 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/iceweasel* 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-2-g168b From c7939f2babc29899c41dfbad83b967b8f832ee85 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 30 Dec 2011 04:53:17 -0500 Subject: Pull in changes from Arch Firefox to our Iceweasel --- mozilla-testing/iceweasel-libre/iceweasel.install | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'mozilla-testing/iceweasel-libre/iceweasel.install') diff --git a/mozilla-testing/iceweasel-libre/iceweasel.install b/mozilla-testing/iceweasel-libre/iceweasel.install index 376600ec2..c1fe8284a 100644 --- a/mozilla-testing/iceweasel-libre/iceweasel.install +++ b/mozilla-testing/iceweasel-libre/iceweasel.install @@ -1,21 +1,13 @@ -#[ "${ICDIR}" = "" ] && 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/iceweasel* directories" - update-desktop-database -q +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor } -# arg 1: the new package version -# arg 2: the old package version post_upgrade() { - post_install $1 + post_install $1 } post_remove() { - update-desktop-database -q + post_install $1 } -#op=$1 -#shift - -#$op $* -- cgit v1.2.3-2-g168b