mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-10 17:15:41 +02:00
repo-add: add barebones example (#12339)
This commit is contained in:
parent
5da4cacd9c
commit
85dc9c4b29
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,10 @@
|
||||||
> Package database maintenance utility which enables installation of said package via Pacman.
|
> Package database maintenance utility which enables installation of said package via Pacman.
|
||||||
> More information: <https://man.archlinux.org/man/repo-add>.
|
> 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:
|
- 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}}`
|
`repo-add --remove {{path/to/database.db.tar.gz}} {{*.pkg.tar.zst}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue