Move the lubuntu-installer script to libexec

pull/1/head
Aaron Rainbolt 1 year ago
parent 936cf6ac8d
commit 4293c7a681

@ -31,6 +31,6 @@ target_link_libraries(lubuntu-installer-prompt PRIVATE Qt6::Widgets)
qt_finalize_executable(lubuntu-installer-prompt) qt_finalize_executable(lubuntu-installer-prompt)
install(TARGETS lubuntu-installer-prompt DESTINATION bin) 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 "img/background.png" DESTINATION share/lubuntu/installer-prompt)
install(FILES "lubuntu-installer-prompt.desktop" DESTINATION /etc/xdg/xdg-Lubuntu/autostart) install(FILES "lubuntu-installer-prompt.desktop" DESTINATION /etc/xdg/xdg-Lubuntu/autostart)

@ -45,7 +45,7 @@ void InstallerPrompt::tryLubuntu()
void InstallerPrompt::installLubuntu() void InstallerPrompt::installLubuntu()
{ {
QProcess *calamares = new QProcess(this); QProcess *calamares = new QProcess(this);
calamares->start("/usr/bin/lubuntu-installer"); calamares->start("/usr/libexec/lubuntu-installer");
} }
InstallerPrompt::~InstallerPrompt() InstallerPrompt::~InstallerPrompt()

Loading…
Cancel
Save