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