diff options
author | Joseph Graham <joseph@fibreglass.tunachunks> | 2014-05-05 19:39:24 +0100 |
---|---|---|
committer | Joseph Graham <joseph@fibreglass.tunachunks> | 2014-05-05 19:39:24 +0100 |
commit | 8ca107b03ac6f124ec93bf35d1fd81ec95ac9a28 (patch) | |
tree | bd298f7cc8af92effa2d247ffebd3b24d629695f /README | |
parent | 2522aab6c401aedd8a03b27e7226b2c8bb8c3ecb (diff) |
made it download stuff directly into the package cache.
Diffstat (limited to 'README')
-rw-r--r-- | README | 24 |
1 files changed, 10 insertions, 14 deletions
@@ -1,17 +1,13 @@ -Install deps: - transmission-cli - curl - -Make directories /srv/pacman2pacman/torrents and /srv/pacman2pacman/downloads - +mkdir -p /srv/pacman2pacman/torrents chown -R transmission /srv/pacman2pacman/ - -Put the following into /etc/pacman.conf: XferCommand = /usr/bin/pacman2pacman-get %u %o - -Put the `pacman2pacman-get' script into /usr/bin and chmod +x - -Run: systemctl start transmission - -Now you can test it by installing something with pacman. +pacman -S transmission-cli +/etc/pacman.conf: + XferCommand = /usr/bin/pacman2pacman-get %u %o +cp pacman2pacman/pacman2pacman-get /usr/bin/ +chmod +x /usr/bin/pacman2pacman-get +chmod 777 /var/cache/pacman/pkg +systemctl start transmission If you want to see the packages being seeded, run: transmission-remote -l + +BUG: if you changed your package cache location (it's customizable in /etc/pacman.conf) you might be doomed. pacman2pacman assumes it is /var/cache/pacman/pkg |