#!/bin/sh
#
# gfax.install-lpr version 1.0
#
# This script intelligently sets up your lpr program to recoqnize
# a "fax" printer.  It correctly handles multiple install iterations.
# This link is required for Gfax to work correctly.
#
# NOTE: RPM installations do this automagically!!
#
BINDIR=/usr/bin
LPRBINDIR=/usr/bin

if [ ! -x $LPRBINDIR/lpr.dist ]; then
	mv $LPRBINDIR/lpr $LPRBINDIR/lpr.dist
	ln -s $BINDIR/lpr.gfax $BINDIR/lpr
	chmod +x $BINDIR/lpr
fi
