From: Quentin Smith Date: Mon, 6 Jan 2014 07:34:51 +0000 (-0500) Subject: dash doesn't support shopt X-Git-Tag: 0.0.18~2 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/xvm-munin-config.git/commitdiff_plain/bbe16f00c2fb7162045e7cf62b9ce44f4de57b59 dash doesn't support shopt --- diff --git a/debian/xvm-munin-host-config.postinst b/debian/xvm-munin-host-config.postinst index 227a982..92568f8 100755 --- a/debian/xvm-munin-host-config.postinst +++ b/debian/xvm-munin-host-config.postinst @@ -33,7 +33,7 @@ case "$1" in rm -v "$i"; fi done) - (shopt -s nullglob; rm -v /etc/munin/plugins/if*_tap* || :) + rm -fv /etc/munin/plugins/if*_tap* invoke-rc.d munin-node restart ;;