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 26 00:18:00 UTC 2012
[aur-mirror.git]
/
pkgdistcache
/
pkgdistcache.install
blob
016efdb6dc2387ff290effa8e537d72eeef4f754
1
post_install() {
2
cat <<EOF
3
4
==> Quick start:
5
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)
12
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
17
18
EOF
19
}
20
21
post_upgrade() {
22
/bin/true
23
}
24
25
pre_remove() {
26
/bin/true
27
}
28
29
op=$1
30
shift
31
32
$op "$@"
33