summaryrefslogtreecommitdiff
path: root/xdgmenumaker/debian
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-03-11 14:38:08 -0400
committerB Stack <bgstack15@gmail.com>2020-03-11 14:38:08 -0400
commite6d15cf8e78efb03df8603562805f2c3a903cafb (patch)
tree17bd9705d30aca49535c23f2f24a29bdbfc3a039 /xdgmenumaker/debian
parentMerge branch 'makemkv-bump' into 'master' (diff)
downloadstackrpms-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')
-rw-r--r--xdgmenumaker/debian/changelog6
-rw-r--r--xdgmenumaker/debian/postinst18
2 files changed, 16 insertions, 8 deletions
diff --git a/xdgmenumaker/debian/changelog b/xdgmenumaker/debian/changelog
index a96693a..1b9715f 100644
--- a/xdgmenumaker/debian/changelog
+++ b/xdgmenumaker/debian/changelog
@@ -1,3 +1,9 @@
+xdgmenumaker (1.5-5+devuan) obs; urgency=medium
+
+ * Suppress minor warnings during dpkg-trigger
+
+ -- Ben Stack <bgstack15@gmail.com> Wed, 11 Mar 2020 14:21:04 -0400
+
xdgmenumaker (1.5-4+devuan) obs; urgency=medium
* Add some runtime dependencies
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