Changeset 5216 for lliurex-store/trunk/fuentes
- Timestamp:
- Jun 17, 2017, 1:14:36 AM (4 years ago)
- Location:
- lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins/appImageManager.py
r5202 r5216 121 121 try: 122 122 call([self.appImageFolder+"/"+appInfo['appImage'], "--remove-appimage-desktop-integration"]) 123 except: 124 pass 125 try: 123 126 os.remove(self.appImageFolder+"/"+appInfo['appImage']) 124 127 self._set_status(0) -
lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/storeManager.py
r5215 r5216 521 521 for appInfo in applistInfo: 522 522 #Deactivated as appstream don't get the right status in all cases. Also it only returns two values: Installed and Unknown. Perhaps in some newer versions.... 523 # if (action=='install' and appInfo['state']=='installed') or (action=='remove' and appInfo['state']=='available'): 524 # if (action=='remove' and appInfo['state']=='available'): 525 # if action=='remove': 526 # self.result[action]['status']={appInfo['package']:3} 527 # self.result[action]['status']={'status':3} 528 # else: 529 # self.result[action]['status']={appInfo['package']:4} 530 # self.result[action]['status']={'status':4} 531 # pass 532 # return_msg=False 533 # typeDict={} 534 # break 523 if (action=='install' and appInfo['state']=='installed') or (action=='remove' and appInfo['state']=='available'): 524 if (action=='remove' and appInfo['state']=='available'): 525 self.result[action]['status']={appInfo['package']:3} 526 self.result[action]['status']={'status':3} 527 else: 528 self.result[action]['status']={appInfo['package']:4} 529 self.result[action]['status']={'status':4} 530 pass 531 return_msg=False 532 typeDict={} 533 break 535 534 536 535 package_type=self._check_package_type(appInfo)
Note: See TracChangeset
for help on using the changeset viewer.