From 6e4eeb328196782df9dc8a55c68e93cffb08e848 Mon Sep 17 00:00:00 2001 From: lxnay Date: Sun, 15 Jul 2007 07:48:44 +0000 Subject: [PATCH] fix directories recreation git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@311 cd1c1023-2f26-0410-ae45-c471fc1f0318 --- libraries/entropyConstants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/entropyConstants.py b/libraries/entropyConstants.py index db8326aab..88d4eedf0 100644 --- a/libraries/entropyConstants.py +++ b/libraries/entropyConstants.py @@ -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: