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 19 12:17:07 UTC 2012
[aur-mirror.git]
/
ttysnoop
/
ttysnoop.install
blob
c0964fc013a0b374c735b390d3bfce4894848d4b
1
# arg 1: the new package version
2
post_install() {
3
mkdir -p /var/spool/ttysnoop
4
chmod 755 /var/spool/ttysnoop
5
}
6
7
# arg 1: the new package version
8
# arg 2: the old package version
9
post_upgrade() {
10
post_install $1
11
}
12
13
# arg 1: the old package version
14
pre_remove() {
15
true
16
}
17
18
op=$1
19
shift
20
21
$op $*
22