1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/print/hplip/pkg-install
Pav Lucistnik ee4ef808b3 - Update to 2.7.9 (breaks out foomatic integration, all access is done via
libusb now)

PR:		ports/117250
Submitted by:	Anish Mistry <amistry@am-productions.biz> (maintainer)
2007-10-26 20:16:02 +00:00

20 lines
273 B
Bash

#!/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