File: 02_sddm_systemctl.diff

package info (click to toggle)
sddm 0.21.0%2Bgit20250502.4fe234b-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,072 kB
  • sloc: cpp: 8,509; xml: 513; sh: 464; perl: 114; makefile: 26
file content (21 lines) | stat: -rw-r--r-- 626 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Date: Fri, 11 Nov 2016 09:45:34 +0100
Subject: _sddm_systemctl

---
 CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -147,8 +147,8 @@ if(SYSTEMD_FOUND)
         pkg_get_variable(SYSTEMD_TMPFILES_DIR systemd tmpfilesdir)
     endif()
 
-    set(HALT_COMMAND "/usr/bin/systemctl poweroff")
-    set(REBOOT_COMMAND "/usr/bin/systemctl reboot")
+    set(HALT_COMMAND "/bin/systemctl poweroff")
+    set(REBOOT_COMMAND "/bin/systemctl reboot")
 else()
     set(SYSTEMD_FOUND 0)
 endif()