mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 22:54:16 +02:00
[arch] fix -> not able to upgrade a package that explicitly defines a conflict with itself
This commit is contained in:
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
|
||||
## [0.9.7] 2020
|
||||
### Fixes
|
||||
- Arch
|
||||
- not able to upgrade a package that explicitly defines a conflict with itself (e.g: grub)
|
||||
- UI
|
||||
- crashing when nothing can be upgraded
|
||||
|
||||
|
||||
@@ -144,7 +144,7 @@ class UpdatesSummarizer:
|
||||
for p, data in context.pkgs_data.items():
|
||||
if data['c']:
|
||||
for c in data['c']:
|
||||
if c and c in context.installed_names:
|
||||
if c and c != p and c in context.installed_names:
|
||||
# source = provided_map[c]
|
||||
root_conflict[c] = p
|
||||
|
||||
|
||||
Reference in New Issue
Block a user