summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/firefox/firefox.install
blob: cd50dec0e20cdbf788044731e9926962aed4f198 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
}