File: prerm

package info (click to toggle)
cpio 2.6-18.1%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 3,248 kB
  • ctags: 1,730
  • sloc: ansic: 14,893; sh: 4,793; makefile: 234; sed: 16
file content (9 lines) | stat: -rw-r--r-- 244 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#!/bin/sh -e

if [ "$1" = remove ]; then 
    update-alternatives --remove mt /bin/mt-gnu
    install-info --quiet --remove /usr/share/info/cpio.info
    if test -L /sbin/rmt && test /sbin/rmt -ef /usr/sbin/rmt; then
	rm -f /sbin/rmt
    fi
fi