diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-11-29 15:15:37 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-11-29 15:15:37 +0800 |
commit | ff9b3d1c1a3399fe7c6719310b9f5c78755a98e4 (patch) | |
tree | c9d1cd8c78f920e2b19465e7e4a2dcf249685e4a /x11/gnome2/pkg-install | |
parent | 90fabcb1ced0fb33e9cd3402a0e4a432f39d4dd4 (diff) | |
download | marcuscom-ports-ff9b3d1c1a3399fe7c6719310b9f5c78755a98e4.tar marcuscom-ports-ff9b3d1c1a3399fe7c6719310b9f5c78755a98e4.tar.gz marcuscom-ports-ff9b3d1c1a3399fe7c6719310b9f5c78755a98e4.tar.bz2 marcuscom-ports-ff9b3d1c1a3399fe7c6719310b9f5c78755a98e4.tar.lz marcuscom-ports-ff9b3d1c1a3399fe7c6719310b9f5c78755a98e4.tar.xz marcuscom-ports-ff9b3d1c1a3399fe7c6719310b9f5c78755a98e4.tar.zst marcuscom-ports-ff9b3d1c1a3399fe7c6719310b9f5c78755a98e4.zip |
Presenting the first in the GNOME 2.5 developers series: 2.5.0 "Obviously
you're not a golfer."
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1381 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..1324bb12a --- /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 gnomeaudio" + 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 |