source: scripts/untested/kde-scripts/kde-setup.sh@ fd5b1fe

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since fd5b1fe was 300656b, checked in by Jim Gifford <clfs@…>, 19 years ago

r585@server (orig r583): ryan | 2005-08-05 21:47:55 -0700
Update all kde build scripts... tested and working on bi-arch amd64



  • Property mode set to 100644
File size: 686 bytes
RevLine 
[617118d]1#!/bin/bash
2
3# Temporary KDE setup script... this to be controlled via a wrapper
4
5mkdir -p /opt/kde-${KDE_VER}
[300656b]6ln -sfn kde-${KDE_VER} /opt/kde
[617118d]7
[300656b]8export KDE_PREFIX=/opt/kde-${KDE_VER}
[617118d]9
10export PATH=${PATH}:${KDE_PREFIX}/bin
[300656b]11export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${KDE_PREFIX}/${libdirname}/pkgconfig
[617118d]12
[300656b]13grep ${KDE_PREFIX}/${libdirname} /etc/ld.so.conf > /dev/null 2>&1 ||
14 echo "${KDE_PREFIX}/${libdirname}" >> /etc/ld.so.conf
[617118d]15
16grep ${KDE_PREFIX}/man /etc/man.conf > /dev/null 2>&1 ||
17echo "${KDE_PREFIX}/man" >> /etc/man.conf
18
19if [ -z ${XDG_DATA_DIRS} ]; then
20 export XDG_DATA_DIRS=/usr/share:${KDE_PREFIX}/share
21else
22 export XDG_DATA_DIRS=${XDG_DATA_DIRS}:${KDE_PREFIX}/share
23fi
Note: See TracBrowser for help on using the repository browser.