File: zsh.postrm

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 (18 lines) | stat: -rw-r--r-- 206 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

case "$1" in
	(remove)
	remove-shell /bin/zsh
	remove-shell /usr/bin/zsh

	# Remove hardcoded symlink again
	if [ -L /usr/bin/zsh ]; then
	  rm -f /usr/bin/zsh
	fi

	;;
esac

#DEBHELPER#