diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-04-13 15:55:41 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-04-13 15:55:41 +0800 |
commit | 68c0518c0276dda9c8c4294e1b5f194617002c2a (patch) | |
tree | c83e93aa7d85daeb1ff83e4e18d5aafca6e43488 /x11/gnome2/pkg-install | |
parent | 4ea8cc27f290ad6c852b414b7e4a36e3df2571a0 (diff) | |
download | marcuscom-ports-68c0518c0276dda9c8c4294e1b5f194617002c2a.tar marcuscom-ports-68c0518c0276dda9c8c4294e1b5f194617002c2a.tar.gz marcuscom-ports-68c0518c0276dda9c8c4294e1b5f194617002c2a.tar.bz2 marcuscom-ports-68c0518c0276dda9c8c4294e1b5f194617002c2a.tar.lz marcuscom-ports-68c0518c0276dda9c8c4294e1b5f194617002c2a.tar.xz marcuscom-ports-68c0518c0276dda9c8c4294e1b5f194617002c2a.tar.zst marcuscom-ports-68c0518c0276dda9c8c4294e1b5f194617002c2a.zip |
Add gnome2. Welcome to GNOME 2.3.x.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@640 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome2/pkg-install')
-rw-r--r-- | x11/gnome2/pkg-install | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/x11/gnome2/pkg-install b/x11/gnome2/pkg-install new file mode 100644 index 000000000..05cc74c44 --- /dev/null +++ b/x11/gnome2/pkg-install @@ -0,0 +1,21 @@ +#!/bin/sh + +if [ -n "${PACKAGE_BUILDING}" ]; then + exit 0 +fi + +PATH=/bin:/usr/bin:/sbin:/usr/sbin:${PATH} +export PATH + +if [ "$2" = "PRE-INSTALL" ]; then + GNOME_ONE_DESKTOP="gnomecore gnomeapplets gnomemedia gnomeutils gtop libgtop sawfish nautilus gedit xalf bugbuddy gnomegames gdm eog ggv" + for package in ${GNOME_ONE_DESKTOP}; do + if pkg_info | grep "^${package}-[0-9]" >/dev/null 2>&1; then + echo "${package} was detected on the system. This package is part of the GNOME 1.x" + echo "desktop, and cannot coexist with the GNOME 2.2 desktop." + echo "" + echo "Please deinstall the GNOME 1.x desktop before installing this package." + false + fi + done +fi |