Commit 54f5b361 authored by Ralf Habacker's avatar Ralf Habacker

Fix 'org.kde.umbrello5.desktop has wrong Exec line'.

BUG:381565
FIXED-IN:2.22.3 (KDE Applications 17.04.3)
parent 27bd57dd
......@@ -602,6 +602,7 @@ if(NOT BUILD_KF5)
else()
file(READ umbrello.desktop UMBRELLO_DESKTOP)
string(REPLACE "-caption" "-qwindowtitle" UMBRELLO_DESKTOP_OUT "${UMBRELLO_DESKTOP}")
string(REPLACE "umbrello" "umbrello5" UMBRELLO_DESKTOP_OUT "${UMBRELLO_DESKTOP_OUT}")
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/umbrello.desktop "${UMBRELLO_DESKTOP_OUT}")
install( PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/umbrello.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} RENAME org.kde.umbrello5.desktop)
file(READ org.kde.umbrello.appdata.xml UMBRELLO_APPDATA)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment