summaryrefslogtreecommitdiff
path: root/xdgmenumaker/debian/postinst
blob: bcb100831e5cb9c6f12b94192090d8cff5b54c3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
# xdgmenumaker postinst

case "$1" in
   triggered)
      Xvfb :18 &
      result=$!
      export DISPLAY=:18
      for word in fluxbox ;
      do
         /usr/bin/xdgmenumaker -f "${word}" -i > "/etc/xdgmenumaker/${word}" 2>/dev/null
      done
      kill $result
      ;;
   *)
      :
      ;;
esac
bgstack15