fix directories recreation

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@311 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2007-07-15 07:48:44 +00:00
parent 7181152711
commit 6e4eeb3281
+1 -1
View File
@@ -211,7 +211,7 @@ if not os.path.isdir(ETP_DIR):
for x in etpConst:
if (type(etpConst[x]) is str):
if (not etpConst[x]) or (etpConst[x].endswith(".conf")) or (etpConst[x].endswith(".cfg")) or (etpConst[x].endswith(".tmp")) or (etpConst[x].find(".db") != -1):
if (not etpConst[x]) or (etpConst[x].endswith(".conf")) or (not etpConst[x].startswith("/")) or (etpConst[x].endswith(".cfg")) or (etpConst[x].endswith(".tmp")) or (etpConst[x].find(".db") != -1):
continue
if etpConst[x].find("%ARCH%") != -1: