updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / brscan2-network / brscan2-network.install
blobf2cd29bec04381b407790fde35329b1e33fdc280
2 # new package version
3 pre_install() {
4   /bin/true
7 # new package version
8 post_install() {
9         /usr/local/Brother/sane/setupSaneScan2 -i
10         brsaneconfig2 -a name=Brother-DCP-770CW model=DCP-770CW ip=192.168.1.100
11         /bin/true
14 # the new package version
15 # old package version
16 pre_upgrade() {
17         /bin/true
20 # new package version
21 # old package version
22 post_upgrade() {
23         /bin/true
26 # old package version
27 pre_remove() {
28         /usr/local/Brother/sane/setupSaneScan2 -e
29         brsaneconfig2 -r Brother-DCP-770CW
30         /bin/true
33 # old package version
34 post_remove() {
35         /bin/true
38 op=$1
39 shift
40 $op $*