summaryrefslogtreecommitdiffstats
path: root/source/kde/kde/post-install/kde-cli-tools.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/kde/post-install/kde-cli-tools.post-install')
-rw-r--r--source/kde/kde/post-install/kde-cli-tools.post-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/kde/kde/post-install/kde-cli-tools.post-install b/source/kde/kde/post-install/kde-cli-tools.post-install
new file mode 100644
index 000000000..5a5646d82
--- /dev/null
+++ b/source/kde/kde/post-install/kde-cli-tools.post-install
@@ -0,0 +1,6 @@
+# Create a symlink in /usr/bin to the kdesu binary:
+KDESUBIN="$(cd $PKG ; find usr -type f -name kdesu)"
+if [ -r $PKG/$KDESUBIN ]; then
+ mkdir -p $PKG/usr/bin
+ ( cd $PKG/usr/bin ; ln -s /$KDESUBIN kdesu )
+fi