mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-15 08:59:59 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,13 +6,18 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# repo-add
|
||||
|
||||
> Package database maintenance utility which enables installation of said package via Pacman.
|
||||
> See also: `repo-remove`.
|
||||
> More information: <https://manned.org/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 packages to the repository:
|
||||
|
||||
`repo-add {{path/to/database.db.tar.gz}} {{package1.pkg.tar.zst package2.pkg.tar.zst ...}}`
|
||||
|
||||
- Add all package binaries in the current directory and remove any outdated package files:
|
||||
|
||||
`repo-add {{[-R|--remove]}} {{path/to/database.db.tar.gz}} {{*.pkg.tar.zst}}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user