Imported Upstream version 0.63.0
[hcoop/debian/courier-authlib.git] / authmigrate.in
index ddafabc..a40b64a 100644 (file)
@@ -2,9 +2,9 @@
 #
 # Migrate script from pre courier-authlib versions of Courier.
 #
-# $Id: authmigrate.in,v 1.2 2005/02/13 11:26:19 mrsam Exp $
+# $Id: authmigrate.in,v 1.4 2009/02/22 16:58:27 mrsam Exp $
 #
-# Copyright 2004 Double Precision, Inc.  See COPYING for
+# Copyright 2004-2009 Double Precision, Inc.  See COPYING for
 # distribution information.
 
 prefix=@prefix@
@@ -18,6 +18,8 @@ dstfile="$2"
 rc=0
 
 for dir in     /etc/courier \
+               /etc/courier/authlib \
+               /etc/courier-imap \
                /usr/lib/courier/etc \
                /usr/lib/courier-imap/etc \
                /usr/local/etc \
@@ -71,11 +73,11 @@ done
 return $rc
 }
 
-chk_file authdaemonrc @authdaemonrc@
-chk_file authmysqlrc @authmysqlrc@
-chk_file authpgsqlrc @authpgsqlrc@
-chk_file authldaprc @authldaprc@
-chk_file userdb @userdb@
+chk_file authdaemonrc ${DESTDIR}@authdaemonrc@
+chk_file authmysqlrc ${DESTDIR}@authmysqlrc@
+chk_file authpgsqlrc ${DESTDIR}@authpgsqlrc@
+chk_file authldaprc ${DESTDIR}@authldaprc@
+chk_file userdb ${DESTDIR}@userdb@
 
 if test "$?" = "1"
 then