summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/firefox/firefox.install
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 /abs/extra-testing/community/firefox/firefox.install
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.
Diffstat (limited to 'abs/extra-testing/community/firefox/firefox.install')
-rw-r--r--abs/extra-testing/community/firefox/firefox.install12
1 files changed, 12 insertions, 0 deletions
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() {