summaryrefslogtreecommitdiffstats
path: root/kde
diff options
context:
space:
mode:
Diffstat (limited to 'kde')
-rw-r--r--kde/build/kscreenlocker1
-rw-r--r--kde/post-install/kscreenlocker.post-install7
2 files changed, 5 insertions, 3 deletions
diff --git a/kde/build/kscreenlocker b/kde/build/kscreenlocker
new file mode 100644
index 0000000..0cfbf08
--- /dev/null
+++ b/kde/build/kscreenlocker
@@ -0,0 +1 @@
+2
diff --git a/kde/post-install/kscreenlocker.post-install b/kde/post-install/kscreenlocker.post-install
index 6d9b558..203cff0 100644
--- a/kde/post-install/kscreenlocker.post-install
+++ b/kde/post-install/kscreenlocker.post-install
@@ -1,3 +1,4 @@
-# For shadow, this file needs to be setuid root just like the KDE4 version:
-chmod +s $PKG/usr/lib$LIBDIRSUFFIX/kcheckpass
-
+if [ "$SLACKPAM" == "no" ]; then
+ # For shadow, this file needs to be setuid root:
+ chmod +s $PKG/usr/lib$LIBDIRSUFFIX/kcheckpass
+fi