updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / duo / duo.install
blobdd0a33f43ee74d5aa207752e873aed32425805ec
1 pkgname=duo
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
12 post_upgrade() {
13   post_install $1
17 post_remove() {
18   cp /usr/share/duo/duo.log /usr/share/duo/duo.log.back