mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 07:34:16 +02:00
[debian] fix: displaying the 'Remove completely' option for recent installed application when 'purge' is default
This commit is contained in:
@@ -67,12 +67,12 @@ class DebianPackageManager(SoftwareManager, SettingsController):
|
|||||||
|
|
||||||
if not is_url:
|
if not is_url:
|
||||||
for pkg in self.aptitude.search(words):
|
for pkg in self.aptitude.search(words):
|
||||||
if pkg.installed:
|
if fill_config.is_alive():
|
||||||
if fill_config.is_alive():
|
fill_config.join()
|
||||||
fill_config.join()
|
|
||||||
|
|
||||||
|
pkg.global_purge = bool(config_.get('remove.purge', False))
|
||||||
|
if pkg.installed:
|
||||||
pkg.bind_app(self.apps_index.get(pkg.name))
|
pkg.bind_app(self.apps_index.get(pkg.name))
|
||||||
pkg.global_purge = bool(config_.get('remove.purge', False))
|
|
||||||
res.installed.append(pkg)
|
res.installed.append(pkg)
|
||||||
else:
|
else:
|
||||||
res.new.append(pkg)
|
res.new.append(pkg)
|
||||||
|
|||||||
Reference in New Issue
Block a user