zsh.postrm 206 Bytes
Newer Older
1 2 3
#!/bin/sh

set -e
Frank Terbeck's avatar
Frank Terbeck committed
4 5 6 7 8

case "$1" in
	(remove)
	remove-shell /bin/zsh
	remove-shell /usr/bin/zsh
9 10 11 12 13 14

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

Frank Terbeck's avatar
Frank Terbeck committed
15 16
	;;
esac
Axel Beckert's avatar
Axel Beckert committed
17 18

#DEBHELPER#