another file that we must get rid of
[alioth/cvs.git] / debian / postinst
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