File: zsh-common.prerm

package info (click to toggle)
zsh 5.3.1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 16,324 kB
  • ctags: 8,554
  • sloc: ansic: 104,868; sh: 6,584; perl: 813; makefile: 774; awk: 388; sed: 16
file content (24 lines) | stat: -rw-r--r-- 318 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

set -e

case "$1" in
    (remove|deconfigure)
        rmdir /usr/local/share/zsh/site-functions || true
        rmdir /usr/local/share/zsh || true
    ;;
    (upgrade)
    ;;

    (failed-upgrade)
    ;;

    (*)
	echo "prerm called with unknown argument \`$1'" >&2
	exit 0
    ;;
esac

#DEBHELPER#

exit 0