File: postrm

package info (click to toggle)
xtell 1.91.2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 164 kB
  • ctags: 65
  • sloc: ansic: 962; makefile: 81; sh: 39
file content (17 lines) | stat: -rw-r--r-- 353 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# post install script for the Debian GNU/Linux xtell package

set -e



if [ remove = "$1" ]; then
    dpkg-divert --package xtell --remove --rename \
		--divert /usr/bin/write.orig /usr/bin/write

    dpkg-divert --package xtell --remove --rename \
   	        --divert /usr/man/man1/write.orig.1.gz /usr/man/man1/write.1.gz

fi

#DEBHELPER#