diff options
Diffstat (limited to 'yuminstall.py')
-rw-r--r-- | yuminstall.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/yuminstall.py b/yuminstall.py index 187eba476..9a86c7800 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -284,6 +284,18 @@ class AnacondaYumRepo(YumRepository): return result + def getHeader(self, package, checkfunc = None, reget = 'simple', + cache = True): + + remote = package.returnSimple('relativepath') + local = package.localHdr() + start = package.returnSimple('hdrstart') + end = package.returnSimple('hdrend') + + return self.__get(relative=remote, local=local, start=start, + reget=None, end=end, checkfunc=checkfunc, copy_local=1, + cache=cache, + ) def getPackage(self, package, checkfunc = None, text = None, cache = True): remote = package.returnSimple('relativepath') |