This commit is contained in:
jpic 2020-02-13 03:32:45 +01:00
parent 482f9203f7
commit f235db33ca
2 changed files with 2 additions and 1 deletions

View File

@ -139,6 +139,7 @@ class Packages:
cachedir = os.path.join(self.cache_root, self.mgr) cachedir = os.path.join(self.cache_root, self.mgr)
await script.mount(cachedir, f'/var/cache/{self.mgr}') await script.mount(cachedir, f'/var/cache/{self.mgr}')
await script.run('echo keepcache=True >> /etc/dnf/dnf.conf') await script.run('echo keepcache=True >> /etc/dnf/dnf.conf')
return cachedir
async def apt_setup(self, script): async def apt_setup(self, script):
codename = (await script.exec( codename = (await script.exec(

View File

@ -5,7 +5,7 @@ setup(
name='podctl', name='podctl',
versioning='dev', versioning='dev',
setup_requires='setupmeta', setup_requires='setupmeta',
install_requires=['cli2'], install_requires=['cli2', 'pygments'],
extras_require=dict( extras_require=dict(
test=[ test=[
'freezegun', 'freezegun',