diff --git a/CMakeLists.txt b/CMakeLists.txt index aec398b..af12c7b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,6 +31,6 @@ target_link_libraries(lubuntu-installer-prompt PRIVATE Qt6::Widgets) qt_finalize_executable(lubuntu-installer-prompt) install(TARGETS lubuntu-installer-prompt DESTINATION bin) -install(PROGRAMS "scripts/lubuntu-installer" DESTINATION bin) +install(PROGRAMS "scripts/lubuntu-installer" DESTINATION libexec) install(FILES "img/background.png" DESTINATION share/lubuntu/installer-prompt) install(FILES "lubuntu-installer-prompt.desktop" DESTINATION /etc/xdg/xdg-Lubuntu/autostart) diff --git a/src/installerprompt.cpp b/src/installerprompt.cpp index 9840d51..663c88a 100644 --- a/src/installerprompt.cpp +++ b/src/installerprompt.cpp @@ -45,7 +45,7 @@ void InstallerPrompt::tryLubuntu() void InstallerPrompt::installLubuntu() { QProcess *calamares = new QProcess(this); - calamares->start("/usr/bin/lubuntu-installer"); + calamares->start("/usr/libexec/lubuntu-installer"); } InstallerPrompt::~InstallerPrompt()