summaryrefslogtreecommitdiffstats
path: root/kde/post-install/kservice.post-install
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2017-01-27 10:56:46 +0100
committer Eric Hameleers <alien@slackware.com>2017-01-27 10:56:46 +0100
commit969a429dee28d5c91719bdefeb9603fef2862409 (patch)
tree7c02188312cf8a4b83248233abeab192552f9eb3 /kde/post-install/kservice.post-install
parentc3c36b13129ec2b08d9756ff247dc14fb40bf9c2 (diff)
downloadktown-969a429dee28d5c91719bdefeb9603fef2862409.tar.gz
ktown-969a429dee28d5c91719bdefeb9603fef2862409.tar.xz
Move the kde profile (logon) scripts from kde-baseapps to kservice.
Needed because kde-baseapps has been split into multiple packages and is itself gone from the software collection.
Diffstat (limited to 'kde/post-install/kservice.post-install')
-rw-r--r--kde/post-install/kservice.post-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/kde/post-install/kservice.post-install b/kde/post-install/kservice.post-install
new file mode 100644
index 0000000..a014f3b
--- /dev/null
+++ b/kde/post-install/kservice.post-install
@@ -0,0 +1,9 @@
+# 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" \
+ > $PKG/etc/profile.d/kde.sh
+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/*