File: postinst

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 (18 lines) | stat: -rw-r--r-- 345 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# $Debian: cvs/debian/postinst,v 1.1 2001/04/20 16:00:54 epg Exp $

set -e

. /usr/share/debconf/confmodule

if [ "$1" = "configure" -a ! \( -f /etc/cvs-pserver.conf -o \
    -f /etc/cvs-cron.conf \) ]; then
	/usr/sbin/cvsconfig -s
fi

db_get cvs/badrepositories
if [ "$RET" = "create" ]; then
	/usr/sbin/cvs-makerepos
fi
#DEBHELPER#