summaryrefslogtreecommitdiff
path: root/debian/zsh.postrm
blob: 5991d7e53b1f8cdd080951446f8dceead41909d3 (plain)
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#