mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[appimage] fix: not able to upgrade imported AppImage files (regression from 0.9.21)
This commit is contained in:
@@ -29,7 +29,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
|
|
||||||
- AppImage
|
- AppImage
|
||||||
- trying to download a file without a URL associated with [#210](https://github.com/vinifmor/bauh/issues/210)
|
- trying to download a file without a URL associated with [#210](https://github.com/vinifmor/bauh/issues/210)
|
||||||
- regression: not able to import AppImage files (introduced in **0.9.21**)
|
- regressions:
|
||||||
|
- not able to import AppImage files (introduced in **0.9.21**)
|
||||||
|
- not able to upgrade imported AppImage files (introduced in **0.9.21**)
|
||||||
|
|
||||||
- Arch
|
- Arch
|
||||||
- **wget** as a hard requirement for Arch package management
|
- **wget** as a hard requirement for Arch package management
|
||||||
|
|||||||
@@ -364,12 +364,15 @@ class AppImageManager(SoftwareManager):
|
|||||||
for req in requirements.to_upgrade:
|
for req in requirements.to_upgrade:
|
||||||
watcher.change_status("{} {} ({})...".format(self.i18n['manage_window.status.upgrading'], req.pkg.name, req.pkg.version))
|
watcher.change_status("{} {} ({})...".format(self.i18n['manage_window.status.upgrading'], req.pkg.name, req.pkg.version))
|
||||||
|
|
||||||
download_data = self._download(req.pkg, watcher)
|
download_data = None
|
||||||
|
|
||||||
if not download_data:
|
if not req.pkg.imported:
|
||||||
not_upgraded.append(req.pkg)
|
download_data = self._download(req.pkg, watcher)
|
||||||
watcher.change_substatus('')
|
|
||||||
continue
|
if not download_data:
|
||||||
|
not_upgraded.append(req.pkg)
|
||||||
|
watcher.change_substatus('')
|
||||||
|
continue
|
||||||
|
|
||||||
if not self.uninstall(req.pkg, root_password, watcher).success:
|
if not self.uninstall(req.pkg, root_password, watcher).success:
|
||||||
not_upgraded.append(req.pkg)
|
not_upgraded.append(req.pkg)
|
||||||
|
|||||||
Reference in New Issue
Block a user