summaryrefslogtreecommitdiff
path: root/xdgmenumaker/debian/postinst
blob: 3e20d56091c65d7a006e3026dc8da577a7c039d7 (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
         xdgmenumaker -f "${word}" -i > "/etc/xdgmenumaker/${word}" 2>/dev/null
      done
      kill $result
      ;;
   *)
      :
      ;;
esac
bgstack15