Fix coexistence check for py-gnome.

PR:	50900
This commit is contained in:
Joe Marcus Clarke 2003-04-13 23:31:54 +00:00
parent fa7d6bd3af
commit f9b3f6d1f3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78914

View file

@ -8,7 +8,7 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin:${PATH}
export PATH
if [ "$2" = "PRE-INSTALL" ]; then
if pkg_info | grep "^py-gnome-[0-9]"; then
if pkg_info | grep "^py-gnome-1\.4\.[0-9]"; then
echo "py-gnome for GTK+ 1.x was detected."
echo "This packages cannot coexist with py-gnome."
false