updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / brother-dcp770cw / brother-dcp770cw.install
blobab3ebd328021047520e3d9940136aa1ed44958fa
1 post_install() {
2         # lpr
3         /usr/local/Brother/Printer/dcp770cw/inf/setupPrintcapij dcp770cw -i
4         
5         # cupswrapper
6         /usr/local/Brother/Printer/dcp770cw/cupswrapper/cupswrapperdcp770cw
7         
8         /etc/rc.d/cups restart
11 post_upgrade() {
12         /bin/true
15 pre_remove() {
16         # lpr
17         /usr/local/Brother/Printer/dcp770cw/inf/setupPrintcapij dcp770cw -e
18         
19         # cupswrapper
20         /usr/local/Brother/Printer/dcp770cw/cupswrapper/cupswrapperdcp770cw -e
23 op=$1
24 shift
26 $op "$@"