pkgfile: fix example and update link (#5821)

This commit is contained in:
Peter Babič
2021-04-28 16:39:51 +02:00
committed by GitHub
parent 48b7458c85
commit d9e0324717

View File

@@ -1,8 +1,8 @@
# pkgfile # pkgfile
> Tool for searching files from packages in the official repositories on arch-based systems. > Tool for searching files from packages in the official repositories on arch-based systems.
> See also `pacman files`. > See also `pacman files`, describing the usage of `pacman --files`.
> More information: <https://wiki.archlinux.org/index.php/Pkgfile>. > More information: <https://man.archlinux.org/man/extra/pkgfile/pkgfile.1>.
- Synchronize the pkgfile database: - Synchronize the pkgfile database:
@@ -16,7 +16,7 @@
`pkgfile --list {{package_name}}` `pkgfile --list {{package_name}}`
- List only files in the `bin` directory provided by a package: - List only files provided by a package located within the `bin` or `sbin` directory:
`pkgfile --list --binaries {{package_name}}` `pkgfile --list --binaries {{package_name}}`
@@ -24,9 +24,9 @@
`pkgfile --ignorecase {{filename}}` `pkgfile --ignorecase {{filename}}`
- Search for a package that owns a specific file in the `bin` directory: - Search for a package that owns a specific file in the `bin` or `sbin` directory:
`pkgfile --binary {{filename}}` `pkgfile --binaries {{filename}}`
- Search for a package that owns a specific file, displaying the package version: - Search for a package that owns a specific file, displaying the package version: