Skip to content

Commit 39d5be7

Browse files
authored
repo-add: fix incorrect description, add manual addition and a see also section (#17594)
1 parent 5801595 commit 39d5be7

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

pages/linux/repo-add.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
# repo-add
22

33
> Package database maintenance utility which enables installation of said package via Pacman.
4+
> See also: `repo-remove`.
45
> More information: <https://manned.org/repo-add>.
56
67
- Create an empty repository:
78

89
`repo-add {{path/to/database.db.tar.gz}}`
910

10-
- Add all package binaries in the current directory and remove the old database file:
11+
- Add packages to the repository:
12+
13+
`repo-add {{path/to/database.db.tar.gz}} {{package1.pkg.tar.zst package2.pkg.tar.zst ...}}`
14+
15+
- Add all package binaries in the current directory and remove any outdated package files:
1116

1217
`repo-add {{[-R|--remove]}} {{path/to/database.db.tar.gz}} {{*.pkg.tar.zst}}`
1318

pages/linux/repo-remove.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# repo-remove
22

33
> Package database maintenance utility which removes packages from a local repository.
4+
> See also: `repo-add`.
45
> More information: <https://manned.org/repo-add>.
56
67
- Remove a package from a local repository:

0 commit comments

Comments
 (0)