[Pkg-zsh-commits] [SCM] Debian zsh package branch, debian, updated. debian/5.0.2-3-3-g5ee2676

Axel Beckert abe at deuxchevaux.org
Fri May 31 00:02:20 UTC 2013


The following commit has been merged in the debian branch:
commit 4a56474bc9aa3daa4fd5a45082dd45a92a4e06b2
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Fri May 31 01:42:01 2013 +0200

    Clean up postinst created dirs again in postrm purge
    
    Closes: #708106

diff --git a/debian/zsh-beta.postrm b/debian/zsh-beta.postrm
new file mode 100644
index 0000000..d97736b
--- /dev/null
+++ b/debian/zsh-beta.postrm
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "purge" ]; then
+    rmdir -p /usr/local/share/zsh-beta/site-functions || true
+fi
+
+#DEBHELPER#
diff --git a/debian/zsh-common.postrm b/debian/zsh-common.postrm
index ff0f98c..a878c64 100644
--- a/debian/zsh-common.postrm
+++ b/debian/zsh-common.postrm
@@ -4,4 +4,8 @@ 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
+
 #DEBHELPER#

-- 
Debian zsh package



More information about the Pkg-zsh-commits mailing list