ef15a1d919
* Don't install .la files [2] * Correct typo in pkg-install [2] * Add missing file to plist [2] * Correct GNOMENG dependency [2] * Fix portlint nits [2] PR: 43985 [1] Submitted by: maintainer [1] Approved by: maintainer [2]
16 lines
327 B
Bash
16 lines
327 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-gtk-[0-9]"; then
|
|
echo "py-gtk for GTK+ 1.x was detected."
|
|
echo "This packages cannot coexist with py-gtk."
|
|
false
|
|
fi
|
|
fi
|