another file that we must get rid of
authortg <tg@mirbsd.org>
Sun, 19 Sep 2010 18:47:49 +0000 (18:47 +0000)
committertg <tg@mirbsd.org>
Sun, 19 Sep 2010 18:47:49 +0000 (18:47 +0000)
debian/postinst
debian/postrm

index 318b08b..a342b42 100644 (file)
@@ -1,12 +1,13 @@
 #! /bin/sh
-# $MirOS: contrib/hosted/tg/deb/cvs/debian/postinst,v 1.2 2010/09/16 21:53:00 tg Exp $
+# $MirOS: contrib/hosted/tg/deb/cvs/debian/postinst,v 1.3 2010/09/19 18:47:49 tg Exp $
 
 set -e
 
 # upgrade case from Debian CVS
-for x in /etc/cvs.conf /etc/cvs-cron.conf /etc/cvs-pserver.conf; do
+nukes='/etc/cvs.conf /etc/cvs-cron.conf /etc/cvs-pserver.conf /etc/cron.weekly/cvs'
+for x in $nukes; do
        test -e $x || continue
-       rm -f /etc/cvs.conf /etc/cvs-cron.conf /etc/cvs-pserver.conf
+       rm -f $nukes
        test -x /usr/sbin/update-inetd && update-inetd --remove "^cvspserver"
        break
 done
index ed1136b..fab0562 100644 (file)
@@ -1,11 +1,11 @@
 #! /bin/sh
-# $MirOS: contrib/hosted/tg/deb/cvs/debian/postrm,v 1.1 2010/09/16 00:18:40 tg Exp $
+# $MirOS: contrib/hosted/tg/deb/cvs/debian/postrm,v 1.2 2010/09/19 18:47:49 tg Exp $
 
 set -e
 
 case $1 in
 purge)
-       rm -f /etc/cvs.conf /etc/cvs-cron.conf /etc/cvs-pserver.conf
+       rm -f /etc/cvs.conf /etc/cvs-cron.conf /etc/cvs-pserver.conf /etc/cron.weekly/cvs
        test -x /usr/sbin/update-inetd && update-inetd --remove "^cvspserver"
        delgroup --system --only-if-empty _cvsadmin
        ;;