diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2013-05-31 01:59:21 +0200 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2013-05-31 01:59:21 +0200 |
commit | 35d13111ae193b1d19a7f6ffab2859674d3780c4 (patch) | |
tree | 8bce3e378e2512840ccbd3801d086407b4d89d87 | |
parent | 4a56474bc9aa3daa4fd5a45082dd45a92a4e06b2 (diff) | |
download | zsh-35d13111ae193b1d19a7f6ffab2859674d3780c4.tar.gz zsh-35d13111ae193b1d19a7f6ffab2859674d3780c4.zip |
Remove redundant update-menus calls in maintainer scripts
dh_installmenu adds such a call automatically via the #DEBHELPER# marker
-rw-r--r-- | debian/zsh-common.postinst | 2 | ||||
-rw-r--r-- | debian/zsh-common.postrm | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/debian/zsh-common.postinst b/debian/zsh-common.postinst index 2845407e4..601994b03 100644 --- a/debian/zsh-common.postinst +++ b/debian/zsh-common.postinst @@ -2,8 +2,6 @@ set -e -if test -x /usr/bin/update-menus ; then update-menus ; fi - mkdir -m2775 -p /usr/local/share/zsh/site-functions && chown root:staff \ /usr/local/share/zsh/site-functions || true diff --git a/debian/zsh-common.postrm b/debian/zsh-common.postrm index a878c64b0..5e6f919be 100644 --- a/debian/zsh-common.postrm +++ b/debian/zsh-common.postrm @@ -2,8 +2,6 @@ set -e -if test -x /usr/bin/update-menus ; then update-menus ; fi - if [ "$1" = "purge" ]; then rmdir -p /usr/local/share/zsh/site-functions || true fi |