File: prerm

package info (click to toggle)
cpio 2.11+dfsg-6
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 8,456 kB
  • sloc: ansic: 9,095; sh: 6,943; yacc: 1,219; makefile: 241; sed: 16
file content (10 lines) | stat: -rw-r--r-- 188 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

set -e

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