repo-add: add barebones example (#12339)

pull/23/head
Managor 2024-02-24 16:35:17 +02:00 committed by GitHub
parent 5da4cacd9c
commit 85dc9c4b29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,10 @@
> Package database maintenance utility which enables installation of said package via Pacman.
> More information: <https://man.archlinux.org/man/repo-add>.
- Create an empty repository:
`repo-add {{path/to/database.db.tar.gz}}`
- Add all package binaries in the current directory and remove the old database file:
`repo-add --remove {{path/to/database.db.tar.gz}} {{*.pkg.tar.zst}}`