diff options
author | B Stack <bgstack15@gmail.com> | 2020-03-11 18:39:01 +0000 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-03-11 18:39:01 +0000 |
commit | 5d25a9fec5300e2938d74a89f9fd61bb5878f403 (patch) | |
tree | 17bd9705d30aca49535c23f2f24a29bdbfc3a039 /xdgmenumaker/debian/postinst | |
parent | Merge branch 'makemkv-bump' into 'master' (diff) | |
parent | fix #18: xdgmenumaker dpkg-trigger (diff) | |
download | stackrpms-5d25a9fec5300e2938d74a89f9fd61bb5878f403.tar.gz stackrpms-5d25a9fec5300e2938d74a89f9fd61bb5878f403.tar.bz2 stackrpms-5d25a9fec5300e2938d74a89f9fd61bb5878f403.zip |
Merge branch 'xdgmenumaker-bump' into 'master'
fix #18 xdgmenumaker dpkg-trigger
Closes #18
See merge request bgstack15/stackrpms!137
Diffstat (limited to 'xdgmenumaker/debian/postinst')
-rw-r--r-- | xdgmenumaker/debian/postinst | 18 |
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 ;; *) : |