1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/x11-toolkits/py-gnome2/pkg-install
2003-02-23 18:04:37 +00:00

17 lines
333 B
Bash

#!/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
if pkg_info | grep "^py-gnome-[0-9]"; then
echo "py-gnome for GTK+ 1.x was detected."
echo "This packages cannot coexist with py-gnome."
false
fi
fi