updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / antivir-applet / antivir-applet.install
blob43379ff9f1d0379ef5ee27f555bfb4fedb28c581
1 post_install() {
2   gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
4   install -dm777 /var/tmp/avira/guard.msg/tmp
5   install -dm775 /var/lock
6   chown root:uucp /var/lock
7   touch /var/lock/LCK..avguard
8   chmod 644 /var/lock/LCK..avguard
10   echo "==> ActiveLockFile must be defined in /etc/avira/avguard.conf as such:"
11   echo "  -> ActiveLockFile /var/lock/LCK..avguard\n"
14 post_upgrade() {
15   post_install $1
18 post_remove() {
19   gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
21   rm -rf /var/{lock,tmp/avira/guard.msg/tmp}