diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
commit | 7b29169fff9e7c624890c5edffe85def8a293136 (patch) | |
tree | 47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/extra/community/firefox/firefox.install | |
parent | c491dea779dac29afff3578bf8245943817c2339 (diff) | |
download | linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2 |
LinHES 6.01.00
Diffstat (limited to 'abs/extra/community/firefox/firefox.install')
-rw-r--r-- | abs/extra/community/firefox/firefox.install | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/abs/extra/community/firefox/firefox.install b/abs/extra/community/firefox/firefox.install new file mode 100644 index 0000000..cd50dec --- /dev/null +++ b/abs/extra/community/firefox/firefox.install @@ -0,0 +1,24 @@ +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() { + post_install $1 +} + +post_remove() { + update-desktop-database -q +} + |