mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 22:54:16 +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
|
||||
- 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
|
||||
- **wget** as a hard requirement for Arch package management
|
||||
|
||||
@@ -364,12 +364,15 @@ class AppImageManager(SoftwareManager):
|
||||
for req in requirements.to_upgrade:
|
||||
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:
|
||||
not_upgraded.append(req.pkg)
|
||||
watcher.change_substatus('')
|
||||
continue
|
||||
if not req.pkg.imported:
|
||||
download_data = self._download(req.pkg, watcher)
|
||||
|
||||
if not download_data:
|
||||
not_upgraded.append(req.pkg)
|
||||
watcher.change_substatus('')
|
||||
continue
|
||||
|
||||
if not self.uninstall(req.pkg, root_password, watcher).success:
|
||||
not_upgraded.append(req.pkg)
|
||||
|
||||
Reference in New Issue
Block a user