1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-21 18:50:38 +03:00

Logic fix for shortcuts applier

This commit is contained in:
Игорь Чудов 2020-08-21 16:03:34 +04:00
parent c8cfd51915
commit 22cd8844ba
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -99,7 +99,7 @@ class shortcut_applier(applier_frontend):
if shortcuts:
for sc in shortcuts:
write_shortcut(sc)
if len(shortcuts):
if len(shortcuts) > 0:
# According to ArchWiki - this thing is needed to rebuild MIME
# type cache in order file bindings to work. This rebuilds
# databases located in /usr/share/applications and