diff options
author | Eric Anderson | 2015-06-20 09:13:47 -0700 |
---|---|---|
committer | Eric Anderson | 2015-06-20 09:13:47 -0700 |
commit | 41136425acd8699e386e91e7fa25341bbf965c92 (patch) | |
tree | 597dafb69eef63986d630d8988a026ff86dabded /pkgdistcache.install | |
download | aur-41136425acd8699e386e91e7fa25341bbf965c92.tar.gz |
Initial import
Diffstat (limited to 'pkgdistcache.install')
-rw-r--r-- | pkgdistcache.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgdistcache.install b/pkgdistcache.install new file mode 100644 index 000000000000..3e6c98264c62 --- /dev/null +++ b/pkgdistcache.install @@ -0,0 +1,18 @@ +post_install() { + cat <<EOF + +==> Quick start: + +*** SERVER MODE *** +Start and enable service: + $ sudo systemctl start pkgdistcached + $ sudo systemctl enable pkgdistcached + +*** CLIENT MODE *** +1) Make sure avahi-daemon is enabled: + $ sudo systemctl enable avahi-daemon +2) Edit /etc/pacman.conf, set the option: + XferCommand = /usr/bin/pkgdistcache-client %u %o + +EOF +} |