430
430
if os.path.exists(installed_desktop_file_path):
431
431
return installed_desktop_file_path
432
432
# lastly, just try checking directly for the desktop file based on the
435
435
installed_desktop_file_path = "/usr/share/applications/%s.desktop" %\
437
437
if os.path.exists(installed_desktop_file_path):
438
438
return installed_desktop_file_path
439
445
LOG.warn("Could not determine the installed desktop file path for "
440
446
"app-install desktop file: '%s'" % app_install_data_file_path)