File: postinst

package info (click to toggle)
csh 20060813-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 760 kB
  • ctags: 1,238
  • sloc: ansic: 12,963; makefile: 77; sh: 16
file content (14 lines) | stat: -rw-r--r-- 289 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e

if [ "$1" = configure ]; then
	update-alternatives --install /bin/csh csh /bin/bsd-csh 30 \
			    --slave /usr/share/man/man1/csh.1.gz csh.1.gz \
				    /usr/share/man/man1/bsd-csh.1.gz

	if type add-shell >/dev/null 2>&1; then
		add-shell /bin/csh
	fi
fi

#DEBHELPER#