mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 21:44: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:
|
||||
for pkg in self.aptitude.search(words):
|
||||
if fill_config.is_alive():
|
||||
fill_config.join()
|
||||
|
||||
pkg.global_purge = bool(config_.get('remove.purge', False))
|
||||
if pkg.installed:
|
||||
if fill_config.is_alive():
|
||||
fill_config.join()
|
||||
|
||||
pkg.bind_app(self.apps_index.get(pkg.name))
|
||||
pkg.global_purge = bool(config_.get('remove.purge', False))
|
||||
res.installed.append(pkg)
|
||||
else:
|
||||
res.new.append(pkg)
|
||||
|
||||
Reference in New Issue
Block a user