~vcs-imports/mintinstall/trunk

« back to all changes in this revision

Viewing changes to usr/lib/linuxmint/mintinstall/mintinstall-update-pkgcache.py

  • Committer: Clement Lefebvre
  • Date: 2018-12-17 11:21:05 UTC
  • Revision ID: git-v1:d632fe788697474175c9f152733fe0688f6f7630
7.9.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/python3
2
2
 
3
3
 
4
 
from installer import cache
 
4
from installer import installer, cache
5
5
 
6
 
pkgcache = cache.PkgCache()
 
6
installer = installer.Installer()
 
7
pkgcache = cache.PkgCache(installer.have_flatpak)
7
8
 
8
9
try:
9
10
    pkgcache.force_new_cache()