1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/sh # $FreeBSD$ if [ "$2" != "PRE-INSTALL" ]; then exit 0 fi pkg_info 'apache-2*' > /dev/null 2<&1 if [ $? = 0 ]; then echo "apr cannot currently be installed alongside apache2. sorry." exit 1 fi exit 0