source: scripts_home/scripts/untested/gnome-scripts/gnome-setup.sh@ 1c9c5c3

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

r624@server (orig r622): jim | 2005-10-31 12:40:28 -0800
Rearranging Archive

  • Property mode set to 100644
File size: 828 bytes
Line 
1GNOME_REL_MAJ=`echo ${GNOME_REL} | sed 's@\([0-9]*\.[0-9]*\).*@\1@g'`
2
3export GNOME_PREFIX=/opt/gnome-${GNOME_REL_MAJ}
4
5if [ ! -d /opt/gnome-${GNOME_REL} ]; then
6 echo " - creating /opt/gnome-${GNOME_REL}"
7 mkdir -p /opt/gnome-${GNOME_REL}
8fi
9echo " - creating gnome-${GNOME_REL_MAJ} -> gnome-${GNOME_REL} symlink"
10ln -sfn gnome-${GNOME_REL} /opt/gnome-${GNOME_REL_MAJ}
11
12
13export PATH=${PATH}:${GNOME_PREFIX}/bin
14export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${GNOME_PREFIX}/lib/pkgconfig
15export GNOME_LIBCONFIG_PATH=/usr/lib:${GNOME_PREFIX}/lib
16
17grep ${GNOME_PREFIX}/${libdir} /etc/ld.so.conf > /dev/null 2>&1 ||
18 echo "${GNOME_PREFIX}/${libdir}" >> /etc/ld.so.conf
19
20grep ${GNOME_PREFIX}/man /etc/man.conf > /dev/null 2>&1 ||
21echo "${GNOME_PREFIX}/man" >> /etc/man.conf
22
23export XDG_DATA_DIRS=/usr/share:${GNOME_PREFIX}/share
Note: See TracBrowser for help on using the repository browser.