updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / pkgdistcache / pkgdistcache.install
blob016efdb6dc2387ff290effa8e537d72eeef4f754
1 post_install() {
2         cat <<EOF
4 ==> Quick start:
6 *** SERVER MODE ***
7 1) start avahi-daemon
8 2) start the pkgdistcache daemon via
9      /etc/rc.d/pkgdistcached start
10    (optionally add pkgdistcached to the DAEMONS array
11    in /etc/rc.conf)
13 *** CLIENT MODE ***
14 1) start avahi-daemon
15 2) edit /etc/pacman.conf, set the option:
16      XferCommand = /usr/bin/pkgdistcache-client %u %o
18 EOF
21 post_upgrade() {
22         /bin/true
25 pre_remove() {
26         /bin/true
29 op=$1
30 shift
32 $op "$@"