xbps/bin/xbps-pkgdb
classabbyamp 79f29ed53e bin/xbps-pkgdb: use -errno values for error states
...when checking a package. This will give more relevant information
than before, removes a message that is misleading in many cases, and
allows for some minor simplification.

before:
```
$ doas xbps-pkgdb runit-void; echo $?
ERROR: runit-void: hash mismatch for /etc/runit/2.
ERROR: runit-void: files check FAILED.
Failed to check `runit-void': Operation not permitted
1
```

after:
```
$ doas xbps-pkgdb runit-void; echo $?
ERROR: runit-void: hash mismatch for /etc/runit/2.
ERROR: runit-void: files check FAILED.
1
```

this does not change the behaviour of `xbps-pkgdb -a`
2023-05-30 21:20:05 +02:00
..
check_pkg_alternatives.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
check_pkg_files.c bin/xbps-pkgdb: we don't rely on mtime anymore, the check is useless 2021-06-26 16:55:11 +02:00
check_pkg_rundeps.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
check_pkg_symlinks.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
check_pkg_unneeded.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
check.c bin/xbps-pkgdb: use -errno values for error states 2023-05-30 21:20:05 +02:00
defs.h Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
main.c bin/xbps-pkgdb: use -errno values for error states 2023-05-30 21:20:05 +02:00
Makefile xbps-pkgdb: add alternatives check 2019-04-20 11:07:00 +02:00
xbps-pkgdb.1 manpages: small formatting improvements 2023-02-10 21:33:51 +01:00