aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-gtk2/pkg-install
blob: a26468bf3372c4ec81cf95573d90031f57a11ee9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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-gtk-[0-9]"; then
         echo "py-gtk for GTK+ 1.x was detected."
         echo "This packages cannot coexist with py-gtk."
     false
     fi
fi