软件商店不验签
This commit is contained in:
parent
805d11b340
commit
ad3e05fc77
|
@ -445,7 +445,9 @@ class UpdateManager():
|
|||
sender_name = get_proc_from_dbus_name(sender)
|
||||
caller = get_caller_from_enum(sender_name)
|
||||
caller_trans = get_source_name_from_enum(sender_name)
|
||||
if deb_verify(deb_path) != 0: #验签失败,提权
|
||||
if source == "kylin-software-center":
|
||||
logging.info("caller : %s.",source)
|
||||
else:
|
||||
(status,error_string) = PolicyKit_Authority(caller_trans+_(" requires authentication to install software packages."),sender)
|
||||
if not status:
|
||||
self.dbusController.InstalldebFinished(False,error_string,'')
|
||||
|
|
Loading…
Reference in New Issue