From a1cc54ec05fbc03bb735b2e3a5e0f3ede98241e2 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@cd1c1023-2f26-0410-ae45-c471fc1f0318> Date: Wed, 19 Mar 2008 11:39:51 +0000 Subject: [PATCH] Entropy: - implemented hard disk repositories support yay :-) git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1492 cd1c1023-2f26-0410-ae45-c471fc1f0318 --- TODO | 1 - libraries/entropyConstants.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 24d16ba3f..7224456fc 100644 --- a/TODO +++ b/TODO @@ -1,6 +1,5 @@ TODO list - lilo.conf trigger? - - hard-disk repositories support ! - calculate extra deps from NEEDED, server side? - NEEDED + ldconfig -p ? - create a meta-packages list ... I hate Joost - split RDEPEND and PDEPEND ( + && and || ) diff --git a/libraries/entropyConstants.py b/libraries/entropyConstants.py index e9cac5a26..9406077ef 100644 --- a/libraries/entropyConstants.py +++ b/libraries/entropyConstants.py @@ -827,8 +827,8 @@ def initConfig_entropyConstants(rootdir): pass repodatabase = repodatabase[:dbformatcolon] - if ((repopackages.startswith("http://") or repopackages.startswith("ftp://")) and \ - (repodatabase.startswith("http://") or repodatabase.startswith("ftp://"))) or \ + if ((repopackages.startswith("http://") or repopackages.startswith("ftp://") or repopackages.startswith("file://")) and \ + (repodatabase.startswith("http://") or repodatabase.startswith("ftp://") or repodatabase.startswith("file://"))) or \ ((not repodatabase) and (myRepodata.has_key(reponame))): if not myRepodata.has_key(reponame):