source: scripts/untested/kde-scripts/kde-setup.sh@ 5baad6a

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 5baad6a was 617118d, checked in by Jim Gifford <clfs@…>, 19 years ago

r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure

  • Property mode set to 100644
File size: 636 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}
6
7export KDE_PREFIX=/opt/kde-${KDE_MAJ}
8
9export PATH=${PATH}:${KDE_PREFIX}/bin
10export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${KDE_PREFIX}/lib/pkgconfig
11
12grep ${KDE_PREFIX}/${libdir} /etc/ld.so.conf > /dev/null 2>&1 ||
13 echo "${KDE_PREFIX}/${libdir}" >> /etc/ld.so.conf
14
15grep ${KDE_PREFIX}/man /etc/man.conf > /dev/null 2>&1 ||
16echo "${KDE_PREFIX}/man" >> /etc/man.conf
17
18if [ -z ${XDG_DATA_DIRS} ]; then
19 export XDG_DATA_DIRS=/usr/share:${KDE_PREFIX}/share
20else
21 export XDG_DATA_DIRS=${XDG_DATA_DIRS}:${KDE_PREFIX}/share
22fi
Note: See TracBrowser for help on using the repository browser.