diff options
author | B Stack <bgstack15@gmail.com> | 2020-01-13 14:14:10 +0000 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-01-13 14:14:10 +0000 |
commit | a63b8381490cfad4df5b9f4677954dcff92b480f (patch) | |
tree | c6862acd465d9270c68cfc47918f36e08a10d77b /xdgmenumaker/debian/postinst | |
parent | improve debian/watch files for many packages (diff) | |
parent | add dpkg-trigger function to xdgmenumaker (diff) | |
download | stackrpms-a63b8381490cfad4df5b9f4677954dcff92b480f.tar.gz stackrpms-a63b8381490cfad4df5b9f4677954dcff92b480f.tar.bz2 stackrpms-a63b8381490cfad4df5b9f4677954dcff92b480f.zip |
Merge branch 'xdgmenumaker-bump' into 'master'
add xdgmenumaker
See merge request bgstack15/stackrpms!113
Diffstat (limited to 'xdgmenumaker/debian/postinst')
-rw-r--r-- | xdgmenumaker/debian/postinst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/xdgmenumaker/debian/postinst b/xdgmenumaker/debian/postinst new file mode 100644 index 0000000..bcb1008 --- /dev/null +++ b/xdgmenumaker/debian/postinst @@ -0,0 +1,18 @@ +#!/bin/sh +# xdgmenumaker postinst + +case "$1" in + triggered) + Xvfb :18 & + result=$! + export DISPLAY=:18 + for word in fluxbox ; + do + /usr/bin/xdgmenumaker -f "${word}" -i > "/etc/xdgmenumaker/${word}" 2>/dev/null + done + kill $result + ;; + *) + : + ;; +esac |