mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 06:14:16 +02:00
[snap] not showing 'License' in the info window if it defined as 'unset'
This commit is contained in:
@@ -140,6 +140,9 @@ class SnapManager(SoftwareManager):
|
||||
if info.get('commands'):
|
||||
info['commands'] = ' '.join(info['commands'])
|
||||
|
||||
if info.get('license') and info['license'] == 'unset':
|
||||
del info['license']
|
||||
|
||||
return info
|
||||
|
||||
def get_history(self, pkg: SnapApplication) -> PackageHistory:
|
||||
|
||||
Reference in New Issue
Block a user