repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git]
/
brscan2-network
/
brscan2-network.install
blob
f2cd29bec04381b407790fde35329b1e33fdc280
1
2
# new package version
3
pre_install() {
4
/bin/true
5
}
6
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
12
}
13
14
# the new package version
15
# old package version
16
pre_upgrade() {
17
/bin/true
18
}
19
20
# new package version
21
# old package version
22
post_upgrade() {
23
/bin/true
24
}
25
26
# old package version
27
pre_remove() {
28
/usr/local/Brother/sane/setupSaneScan2 -e
29
brsaneconfig2 -r Brother-DCP-770CW
30
/bin/true
31
}
32
33
# old package version
34
post_remove() {
35
/bin/true
36
}
37
38
op=$1
39
shift
40
$op $*