Commit efd2efb3 authored by Ralf Habacker's avatar Ralf Habacker

Fixup of 'org.kde.umbrello5.desktop has wrong Exec line'.

The former string replacement was too general.

BUG:381565
FIXED-IN:2.22.3 (KDE Applications 17.04.3)
parent 54f5b361
......@@ -602,7 +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}")
string(REPLACE "Exec=umbrello" "Exec=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