diff options
author | Scott Murray <scott.murray@konsulko.com> | 2020-05-28 15:51:05 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2020-05-28 15:51:05 -0400 |
commit | 7084f123b4f8a704ae2bc35b5fe9433f767439fe (patch) | |
tree | e6ae5f4c2503355c5c0dcf37599b369084e4e129 /scripts | |
parent | 61fddd3f281061a93a13e4e14e75b80925816684 (diff) |
Fix uninstall of widgets without iconsicefish_9.0.2icefish/9.0.29.0.2
Trying to uninstall a widget without an icon would remove the widget
files, but report an error, and the widget would not be removed from
the database until a reboot, preventing installation of a new version.
To fix this, the error handling in uninstall_widget has been reworked
to only explicitly return an error when the unlink of the icon file
fails for reasons other than the file not being present. This then
allows some code cleanup by removing the extra rc2 variable and fixing
some error checks where rc and rc2 were being mixed.
Bug-AGL: SPEC-3401
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ia86805bd814e787b7e47c489973ee974fff4b6d3
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions