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 20:01:47 UTC 2012
[aur-mirror.git]
/
duo
/
duo.install
blob
dd0a33f43ee74d5aa207752e873aed32425805ec
1
pkgname=duo
2
3
post_install() {
4
if [ -e /usr/share/duo/duo.log ]; then
5
echo "Config file will be keeped"
6
else
7
touch /usr/share/duo/duo.log || return 1
8
chmod 777 /usr/share/duo/duo.log
9
fi
10
}
11
12
post_upgrade() {
13
post_install $1
14
}
15
16
17
post_remove() {
18
cp /usr/share/duo/duo.log /usr/share/duo/duo.log.back
19
}