pacman/src
morganamilo 165e492485 pacman: don't run hooks when using --dbonly
--dbonly is meant to only touch the database and not the actual system.
However hooks still run which can leave files in place or run commands
you may not want.

The hooks being run also means `fakeroot pacman -S --dbpath test/ foo --dbonly`
fails because alpm tries to chroot for hooks which requires real root.

Signed-off-by: Allan McRae <allan@archlinux.org>
2021-09-04 20:46:57 +10:00
..
common Update copyright year 2021-03-01 12:22:20 +10:00
pacman pacman: don't run hooks when using --dbonly 2021-09-04 20:46:57 +10:00
util add front-end provided context to callbacks 2021-05-01 12:08:14 +10:00