#!/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 "^xscreensaver-[0-9]" >/dev/null 2>&1; then echo "" echo "*********************************************************" echo "You already have the non-gnome xscreensaver installed." echo "Please deinstall it before installing xscreensaver-gnome." echo "*********************************************************" echo "" false fi fi