source: scripts/untested/gnome-scripts/gnome-setup.sh@ 873009c

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 873009c 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: 827 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 -sf 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.