# 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/*
