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