diff --git a/README.md b/README.md index d418720..ba828b8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # local-arch-repo -Running multiple Arch devices? Create your own package archive repository. +Running multiple Arch devices? Create your own package archive repository and simply add another device. This is actually for a pinephone and other x86_64 Arch devices. Probably PIs (armv7l) will follow. # Usage @@ -33,6 +33,7 @@ python -m http.server ### darkhttpd ``` +pacman -S darkhttpd sudo -u http darkhttpd /srv/http/repo/ --no-server-id ``` @@ -42,18 +43,12 @@ Packages older than half a year will be deleted. @monthly find /srv/http/repo/* -mtime +182.5 '!' -regex '*pkg*' -exec rm {} \; ``` -## Server +## Server & client ``` git clone https://github.com/TECH-SAVIOURS-ORG/local-arch-repo.git cd local-arch-repo -sudo ./server.sh -``` - -## Client -``` -git clone https://github.com/TECH-SAVIOURS-ORG/local-arch-repo.git -cd local-arch-repo -sudo ./client.sh +chmod u+x start.sh +sudo ./start.sh ``` ## Test it