From e6d15cf8e78efb03df8603562805f2c3a903cafb Mon Sep 17 00:00:00 2001 From: B Stack Date: Wed, 11 Mar 2020 14:38:08 -0400 Subject: fix #18: xdgmenumaker dpkg-trigger Suppress useless warning in trigger action --- xdgmenumaker/debian/postinst | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'xdgmenumaker/debian/postinst') 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 ;; *) : -- cgit