diff options
Diffstat (limited to 'xdgmenumaker/debian/postinst')
-rw-r--r-- | xdgmenumaker/debian/postinst | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/xdgmenumaker/debian/postinst b/xdgmenumaker/debian/postinst new file mode 100644 index 0000000..c475148 --- /dev/null +++ b/xdgmenumaker/debian/postinst @@ -0,0 +1,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 |