summaryrefslogtreecommitdiff
path: root/xdgmenumaker/debian/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'xdgmenumaker/debian/postinst')
-rw-r--r--xdgmenumaker/debian/postinst18
1 files changed, 10 insertions, 8 deletions
diff --git a/xdgmenumaker/debian/postinst b/xdgmenumaker/debian/postinst
index 3e20d56..c475148 100644
--- a/xdgmenumaker/debian/postinst
+++ b/xdgmenumaker/debian/postinst
@@ -3,14 +3,16 @@
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
+ {
+ 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
;;
*)
:
bgstack15