summaryrefslogtreecommitdiff
path: root/source/kde/post-install/kde-baseapps.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/post-install/kde-baseapps.post-install')
-rw-r--r--source/kde/post-install/kde-baseapps.post-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/kde/post-install/kde-baseapps.post-install b/source/kde/post-install/kde-baseapps.post-install
new file mode 100644
index 00000000..8dda6366
--- /dev/null
+++ b/source/kde/post-install/kde-baseapps.post-install
@@ -0,0 +1,9 @@
+# Add profile scripts
+mkdir -p $PKG/etc/profile.d
+cat $CWD/post-install/kde-baseapps/profile.d/kde.sh \
+ | sed -e "s#/lib/#/lib${LIBDIRSUFFIX}/#" \
+ > $PKG/etc/profile.d/kde.sh
+cat $CWD/post-install/kde-baseapps/profile.d/kde.csh \
+ | sed -e "s#/lib/#/lib${LIBDIRSUFFIX}/#" \
+ > $PKG/etc/profile.d/kde.csh
+chmod 0755 $PKG/etc/profile.d/*