mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-13 23:38:20 +00:00
if hintsdir is defined, read hints from there
This introduces a new variable HINTSDIR, which overrides the location of the Hints dir (normally it is read from the UNSTABLE dir). Please note that this is the location of the dir that contains the Hints dir. Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
cd242ff453
commit
9d79ce7297
@ -256,7 +256,10 @@ class Britney(object):
|
||||
apt_pkg.init()
|
||||
self.sources = {}
|
||||
self.binaries = {}
|
||||
self.hints = self.read_hints(self.options.unstable)
|
||||
try:
|
||||
self.hints = self.read_hints(self.options.hintsdir)
|
||||
except AttributeError:
|
||||
self.hints = self.read_hints(self.options.unstable)
|
||||
|
||||
if self.options.nuninst_cache:
|
||||
self.__log("Not building the list of non-installable packages, as requested", type="I")
|
||||
|
Loading…
x
Reference in New Issue
Block a user