#!/bin/sh REPLACES_BINARIES="/usr/bin/lpr /usr/bin/lp /usr/bin/lpq /usr/bin/lprm /usr/bin/lpstat /usr/sbin/lpc" case $2 in POST-INSTALL) for FILE in ${REPLACES_BINARIES}; do [ -e "${FILE}" ] && mv "${FILE}" "${FILE}.bak" && ln -s "/usr/local/${FILE#/usr/}" "${FILE}" done ;; esac exit 0