source: scripts/untested/gnome-scripts/gnome-setup.sh@ 7ed0e05

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

r586@server (orig r584): ryan | 2005-08-05 21:49:39 -0700
Update scripts, built fine on amd64 biarch


  • 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.