mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +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
|
## [0.9.7] 2020
|
||||||
### Fixes
|
### Fixes
|
||||||
|
- Arch
|
||||||
|
- not able to upgrade a package that explicitly defines a conflict with itself (e.g: grub)
|
||||||
- UI
|
- UI
|
||||||
- crashing when nothing can be upgraded
|
- crashing when nothing can be upgraded
|
||||||
|
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ class UpdatesSummarizer:
|
|||||||
for p, data in context.pkgs_data.items():
|
for p, data in context.pkgs_data.items():
|
||||||
if data['c']:
|
if data['c']:
|
||||||
for c in 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]
|
# source = provided_map[c]
|
||||||
root_conflict[c] = p
|
root_conflict[c] = p
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user