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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since f118837 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
Line 
1#!/bin/bash
2
3# Temporary KDE setup script... this to be controlled via a wrapper
4
5mkdir -p /opt/kde-${KDE_VER}
6ln -sfn kde-${KDE_VER} /opt/kde
7
8export KDE_PREFIX=/opt/kde-${KDE_VER}
9
10export PATH=${PATH}:${KDE_PREFIX}/bin
11export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${KDE_PREFIX}/${libdirname}/pkgconfig
12
13grep ${KDE_PREFIX}/${libdirname} /etc/ld.so.conf > /dev/null 2>&1 ||
14 echo "${KDE_PREFIX}/${libdirname}" >> /etc/ld.so.conf
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.