summaryrefslogtreecommitdiffstats
path: root/source/kde/kde/post-install/kservice.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/kde/post-install/kservice.post-install')
-rw-r--r--source/kde/kde/post-install/kservice.post-install9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/kde/kde/post-install/kservice.post-install b/source/kde/kde/post-install/kservice.post-install
index a014f3ba3..8da6bcb67 100644
--- a/source/kde/kde/post-install/kservice.post-install
+++ b/source/kde/kde/post-install/kservice.post-install
@@ -1,4 +1,4 @@
-# Add profile scripts
+# Add profile scripts:
mkdir -p $PKG/etc/profile.d
cat $CWD/post-install/kservice/profile.d/kde.sh \
| sed -e "s#/lib/#/lib${LIBDIRSUFFIX}/#g" \
@@ -7,3 +7,10 @@ cat $CWD/post-install/kservice/profile.d/kde.csh \
| sed -e "s#/lib/#/lib${LIBDIRSUFFIX}/#g" \
> $PKG/etc/profile.d/kde.csh
chmod 0755 $PKG/etc/profile.d/*
+
+# We still have a couple of things looking in the old location,
+# so we'll kludge it with a link (hopefully not forever):
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/libexec/kf5
+if [ ! -e $PKG/usr/lib${LIBDIRSUFFIX}/kf5 ]; then
+ ( cd $PKG/usr/lib${LIBDIRSUFFIX} ; ln -sf libexec/kf5 . )
+fi