From 2e35d8c1875c7bf287f71e09bf63f18f763e2f67 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Thu, 1 Feb 2007 02:16:13 +0000 Subject: -Ql needs the 'root' prepended to each file --- src/pacman/package.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/pacman') diff --git a/src/pacman/package.c b/src/pacman/package.c index ae46d624..15c227cf 100644 --- a/src/pacman/package.c +++ b/src/pacman/package.c @@ -203,7 +203,8 @@ void dump_pkg_files(pmpkg_t *pkg) pkgfiles = alpm_pkg_get_files(pkg); for(i = pkgfiles; i; i = alpm_list_next(i)) { - fprintf(stdout, "%s %s\n", (char *)pkgname, (char *)alpm_list_getdata(i)); + fprintf(stdout, "%s %s%s\n", pkgname, alpm_option_get_root(), + (char *)alpm_list_getdata(i)); } fflush(stdout); -- cgit v1.2.3-70-g09d2