freebsd-ports/x11/gnome2-lite/pkg-install
Joe Marcus Clarke c5648827bc Remove eog from the list of GNOME 1 ports since eog2 has been moved to eog.
Reported by:	Tom McLaughlin <tmclaugh@sdf.lonestar.org>
2005-02-13 06:55:35 +00:00

17 lines
621 B
Bash

#!/bin/sh
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 xalf gnomegames 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 desktop."
echo ""
echo "Please deinstall the GNOME 1.x desktop before installing this package."
false
fi
done
fi