install-sessions.sh: do not pollute system location

- /usr/local/.. is a better place for custom .desktop files
- target file doesn't need to be executable
wilder-5.25
Andrey Butirsky 4 years ago
parent 69702475e5
commit 5da3d75810
  1. 4
      login-sessions/install-sessions.sh.cmake

@ -2,8 +2,8 @@
set -e
# Make built-from-source sessions appear in login screen
sudo install @CMAKE_CURRENT_BINARY_DIR@/plasmax11-dev.desktop /usr/share/xsessions/
sudo install @CMAKE_CURRENT_BINARY_DIR@/plasmawayland-dev.desktop /usr/share/wayland-sessions/
sudo install --mode=644 -D --target-directory=/usr/local/share/xsessions @CMAKE_CURRENT_BINARY_DIR@/plasmax11-dev.desktop
sudo install --mode=644 -D --target-directory=/usr/local/share/wayland-sessions @CMAKE_CURRENT_BINARY_DIR@/plasmawayland-dev.desktop
install @CMAKE_BINARY_DIR@/prefix.sh @CMAKE_INSTALL_FULL_LIBEXECDIR@/plasma-dev-prefix.sh
install @CMAKE_CURRENT_BINARY_DIR@/startplasma-dev.sh @CMAKE_INSTALL_FULL_LIBEXECDIR@

Loading…
Cancel
Save