#!/bin/sh

USER=hplip
GROUP=operator
UID=116

DLLFILE=${PKG_PREFIX}/etc/sane.d/dll.conf

case $2 in
POST-INSTALL)
	echo "hpaio" >> ${DLLFILE}
	;;

POST-DEINSTALL)
	cp ${DLLFILE} ${DLLFILE}.orig
	cat ${DLLFILE}.orig | grep -v hpaio > ${DLLFILE}
	rm ${DLLFILE}.orig
	;;
esac