summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kde/post-install/plasma-workspace.post-install4
1 files changed, 3 insertions, 1 deletions
diff --git a/kde/post-install/plasma-workspace.post-install b/kde/post-install/plasma-workspace.post-install
index a2cff96..b2df90e 100644
--- a/kde/post-install/plasma-workspace.post-install
+++ b/kde/post-install/plasma-workspace.post-install
@@ -22,5 +22,7 @@ mkdir -p $PKG/etc
mv $PKG//etc/kde/dbus-1 $PKG/etc/
# For shadow, this file needs to be setuid root just like the KDE4 version:
-chmod +s $PKG/usr/lib$LIBDIRSUFFIX/kcheckpass
+if [ -f $PKG/usr/lib$LIBDIRSUFFIX/kcheckpass ]; then
+ chmod +s $PKG/usr/lib$LIBDIRSUFFIX/kcheckpass
+fi