From b6a88772b5caabf71befd93f874a128d206fe228 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Thu, 19 Apr 2007 20:39:15 +0000 Subject: 2007-04-19 Jeremy Katz * livecd.py (LiveCDImageMethod.getFilename): Handle getting the release notes for the live CD. --- livecd.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'livecd.py') diff --git a/livecd.py b/livecd.py index bb14acd5a..77133448d 100644 --- a/livecd.py +++ b/livecd.py @@ -106,6 +106,10 @@ class LiveCDImageMethod(installmethod.InstallMethod): return [target] return [] + def getFilename(self, filename, callback=None, destdir=None, retry=1): + if filename.startswith("RELEASE-NOTES"): + return "/usr/share/doc/HTML/" + filename + def getLiveBlockDevice(self): return self.osimg -- cgit