diff options
author | B Stack <bgstack15@gmail.com> | 2020-03-11 14:38:08 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-03-11 14:38:08 -0400 |
commit | e6d15cf8e78efb03df8603562805f2c3a903cafb (patch) | |
tree | 17bd9705d30aca49535c23f2f24a29bdbfc3a039 /xdgmenumaker/debian/postinst | |
parent | Merge branch 'makemkv-bump' into 'master' (diff) | |
download | stackrpms-e6d15cf8e78efb03df8603562805f2c3a903cafb.tar.gz stackrpms-e6d15cf8e78efb03df8603562805f2c3a903cafb.tar.bz2 stackrpms-e6d15cf8e78efb03df8603562805f2c3a903cafb.zip |
fix #18: xdgmenumaker dpkg-trigger
Suppress useless warning in trigger action
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 ;; *) : |