summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-03-11 18:39:01 +0000
committerB Stack <bgstack15@gmail.com>2020-03-11 18:39:01 +0000
commit5d25a9fec5300e2938d74a89f9fd61bb5878f403 (patch)
tree17bd9705d30aca49535c23f2f24a29bdbfc3a039
parentMerge branch 'makemkv-bump' into 'master' (diff)
parentfix #18: xdgmenumaker dpkg-trigger (diff)
downloadstackrpms-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
-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