435
435
if os.path.exists(installed_desktop_file_path):
436
436
return installed_desktop_file_path
437
437
# lastly, just try checking directly for the desktop file based on the
440
440
installed_desktop_file_path = "/usr/share/applications/%s.desktop" %\
442
442
if os.path.exists(installed_desktop_file_path):
443
443
return installed_desktop_file_path
444
450
LOG.warn("Could not determine the installed desktop file path for "
445
451
"app-install desktop file: '%s'" % app_install_data_file_path)