CVS: tmda-cgi/skel/uninstall anomalies,1.2,1.3

Gre7g Luterman <[email protected]>
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda-cgi/skel/uninstall
In directory sc8-pr-cvs1:/tmp/cvs-serv28840/skel/uninstall

Modified Files:
	anomalies 
Log Message:
Fixed a bug that broke virtual user installs if there are many users in a
domain.


Index: anomalies
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/skel/uninstall/anomalies,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- anomalies	21 May 2003 20:24:54 -0000	1.2
+++ anomalies	7 Aug 2003 05:18:22 -0000	1.3
@@ -1,10 +1,10 @@
-# Installation anomalies describes any special instructions to follow when
-# installing files from the skel/install directory.
+# Uninstallation anomalies describes any special instructions to follow when
+# installing files from the skel/uninstall directory.
 
 # VIRT_TEST is a regular expression test which can be applied to a user's HOME
 # directory.  If the test matches, then the user is assumed to be a virtual
 # user.
-VIRTUAL_TEST = "^/home/vpopmail/domains/"
+VIRTUAL_TEST = "^" + VPop
 
 # REAL_ONLY is a list of files which should only be copied if the user logging
 # in is "real" (i.e. VIRTUAL_TEST did not match the user's HOME directory).
@@ -14,3 +14,8 @@
 # logging in is a virtual user (i.e. VIRTUAL_TEST matched the user's HOME 
 # directory).
 VIRTUAL_ONLY = ["%(Parent)s/.qmail-%(User)s-default"]
+
+# PARENT_RE is a regular expression used to verify that we have a valid parent
+# directory.  If invalid, try ascending again until we run out of directories
+# or match.
+PARENT_RE = "^" + VPop + "/domains/[^/]+\.[^/]+$"

_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.