File: postrm

package info (click to toggle)
cvs 1.11.1p1debian-10
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,936 kB
  • ctags: 13
  • sloc: sh: 645; makefile: 92
file content (14 lines) | stat: -rw-r--r-- 351 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

# $Debian$

if [ "$1" = "remove" -a -x /usr/sbin/update-inetd ]; then
	update-inetd --remove "^cvspserver"
fi
if [ "$1" = "purge" ]; then
	. /usr/share/debconf/confmodule
	db_purge
	rm -f /etc/cvs.conf /etc/cvs-cron.conf /etc/cvs-pserver.conf
	[ -x /usr/sbin/update-inetd ] && /usr/sbin/update-inetd --remove "^cvspserver"
fi
#DEBHELPER#