summaryrefslogtreecommitdiff
path: root/xdgmenumaker/debian/postinst
blob: c47514806da5e7cd77267cb9d499c71e737d9884 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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}"
         done
         kill $result
      } 1>/dev/null 2>&1
      ;;
   *)
      :
      ;;
esac
bgstack15