-
05307024
by Allan McRae at 2025-10-14T15:13:26+10:00
pactest: create hookdir
Signed-off-by: Allan McRae <allan@archlinux.org>
-
cf2e37c6
by Allan McRae at 2025-10-14T15:13:26+10:00
Add a helper function for resolving paths
Signed-off-by: Allan McRae <allan@archlinux.org>
-
42bf0632
by Allan McRae at 2025-10-14T15:13:26+10:00
pacman: parse directory paths passed on commandline
Passing a path to pacman such as '--cachedir .' currently fails, whereas
providing the full path works. Have pacman get the realpath of any paths
passed to it on the command line and do some error checking to ensure
valid paths.
Fixes #238.
Signed-off-by: Allan McRae <allan@archlinux.org>
-
748e62fa
by Allan McRae at 2025-10-14T15:13:26+10:00
Resolve directory paths when parsing pacman.conf
This provides checks that the directories specified in pacman.conf
exist. It will also fix the "bug" where people replace their pacman
package cache with a symlink to another directory, and have issues
mid-transaction when pacman is upgraded (and the symlink becomes a
directory again).
Signed-off-by: Allan McRae <allan@archlinux.org>