summaryrefslogtreecommitdiffstats
path: root/kde/post-install/kdesu.post-install
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2017-07-18 10:45:31 +0200
committer Eric Hameleers <alien@slackware.com>2017-07-18 10:45:31 +0200
commitdf702e24198288a7ba486f982ae2b8291ab39888 (patch)
tree2bb9eeaa706ee1d5fbe2b947def8af453f962444 /kde/post-install/kdesu.post-install
parent39f6996b805464654b57f1ad51e99481b7b87377 (diff)
downloadktown-df702e24198288a7ba486f982ae2b8291ab39888.tar.gz
ktown-df702e24198288a7ba486f982ae2b8291ab39888.tar.xz
Proper differentiation between kdesu for KF5 and for kdelibs4
Rename the symlink for the kdelibs4 based kdesu to 'kdesu4', and let the 'kdesu' symlink in the $PATH point to the KF5 version instead.
Diffstat (limited to '')
-rw-r--r--kde/post-install/kdesu.post-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/kde/post-install/kdesu.post-install b/kde/post-install/kdesu.post-install
new file mode 100644
index 0000000..52402f5
--- /dev/null
+++ b/kde/post-install/kdesu.post-install
@@ -0,0 +1,4 @@
+# Create a symlink in /usr/bin to the KF5 kdesu binary
+mkdir -p $PKG/usr/bin
+( cd $PKG/usr/bin ; ln -s /usr/lib${LIBDIRSUFFIX}/kf5/kdesu kdesu )
+