summaryrefslogtreecommitdiff
path: root/debian/zsh-common.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/zsh-common.postinst')
-rw-r--r--debian/zsh-common.postinst12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/zsh-common.postinst b/debian/zsh-common.postinst
new file mode 100644
index 000000000..2845407e4
--- /dev/null
+++ b/debian/zsh-common.postinst
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+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
+
+#DEBHELPER#
+
+exit 0