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

#DEBHELPER#

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