File: prerm

package info (click to toggle)
csh 20110502-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,232 kB
  • sloc: ansic: 11,982; makefile: 62; sh: 16
file content (12 lines) | stat: -rw-r--r-- 182 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

if [ "$1" = remove ]; then
	update-alternatives --remove csh /bin/bsd-csh

	if which remove-shell >/dev/null 2>&1; then
		remove-shell /bin/csh
	fi
fi

#DEBHELPER#