summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Frost <gregfrost1@bigpond.com>2009-07-30 22:54:32 (GMT)
committerGreg Frost <gregfrost1@bigpond.com>2009-07-30 22:54:32 (GMT)
commit6bdaa3665834b2eab044680e711aab9fccbeb017 (patch)
tree7a38b0f5096e1eeb1ab5242e589e93ec0527cf77
parent2a44e7d62b7a9b1f554ccbbb2691b6b7e6cfa13c (diff)
downloadlinhes_pkgbuild-6bdaa3665834b2eab044680e711aab9fccbeb017.zip
linhes_pkgbuild-6bdaa3665834b2eab044680e711aab9fccbeb017.tar.gz
linhes_pkgbuild-6bdaa3665834b2eab044680e711aab9fccbeb017.tar.bz2
firefox: update fluxbox keys when firefox is installed (alt-w = firefox) w for web.
-rw-r--r--abs/extra-testing/community/firefox/PKGBUILD2
-rw-r--r--abs/extra-testing/community/firefox/firefox.install12
2 files changed, 13 insertions, 1 deletions
diff --git a/abs/extra-testing/community/firefox/PKGBUILD b/abs/extra-testing/community/firefox/PKGBUILD
index 1d2ea63..babf777 100644
--- a/abs/extra-testing/community/firefox/PKGBUILD
+++ b/abs/extra-testing/community/firefox/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=firefox
pkgver=3.5.1
-pkgrel=1
+pkgrel=2
_xulver=1.9.1.1
pkgdesc="Standalone web browser from mozilla.org"
arch=(i686 x86_64)
diff --git a/abs/extra-testing/community/firefox/firefox.install b/abs/extra-testing/community/firefox/firefox.install
index 7463b6e..cd50dec 100644
--- a/abs/extra-testing/community/firefox/firefox.install
+++ b/abs/extra-testing/community/firefox/firefox.install
@@ -1,5 +1,17 @@
post_install() {
update-desktop-database -q
+
+ # For LinHES: check for a fluxbox keys file that doesnt have a mapping
+ # for Alt-w and map it to firefox.
+
+ if [ -e /home/mythtv/.fluxbox/keys ]
+ then
+ if ! grep -q "Mod1 w" /home/mythtv/.fluxbox/keys
+ then
+ echo Adding fluxbox key for firefox.
+ echo "Mod1 w :ExecCommand firefox" >> /home/mythtv/.fluxbox/keys
+ fi
+ fi
}
post_upgrade() {