summaryrefslogtreecommitdiff
path: root/debian/postinst
blob: d887aed5b52fef92b095a2d85b5e9e2c216a92de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

set -e

case "$1" in
    (configure)
#    if test -z "$2"; then
	    add-shell /usr/bin/zsh
#    fi
    ;;
    (abort-upgrade|abort-remove|abort-deconfigure)
	exit 0
    ;;
    (*)
	echo "postinst called with unknown argument \`$1'" >&2
	exit 0
    ;;
esac

mkdir -m2775 -p /usr/local/share/zsh/site-functions && chown root:staff \
               /usr/local/share/zsh/site-functions || true

exit 0