#!/bin/sh
PORTINSTPROG=/usr/local/libexec/auth/login_-ldap
REALINSTPROG=/usr/libexec/auth/login_-ldap

if [ -f $PORTINSTPROG ]; then
	install -o root -g auth -m 0555 $PORTINSTPROG $REALINSTPROG
	echo "Successfully installed $REALINSTPROG"
	echo "You will have to manually remove it if you delete the login_ldap package" 
else
	echo "$PORTINSTPROG does not seem to exist."
	echo "You only need to run this script when installing from the ports tree."
fi
 
