aboutsummaryrefslogtreecommitdiffstats
path: root/print/hplip3/pkg-install
blob: e6f2dc26c7ed80132bf863bd06020ddf54e6ad42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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