1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Remove pkg-install. It has served its purpose.

This commit is contained in:
Jeremy Messenger 2006-06-06 20:10:03 +00:00
parent 603a799dd0
commit a5b40f8034
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=164644

View File

@ -1,22 +0,0 @@
#!/bin/sh
PATH=/bin:/usr/bin:/sbin:/usr/sbin:${PATH}
export PATH
tmp_pkg_info=`mktemp -t gnome_install_pkg_info`
trap "rm -f ${tmp_pkg_info}" 0
pkg_info > ${tmp_pkg_info}
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 grep "^${package}-[0-9]" ${tmp_pkg_info} >/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