Skip to content

Commit 4368928

Browse files
committed
Use --query instead of --files in pacman
--query yields absolute paths to the package files while --files yields relative paths.
1 parent 2ce85ed commit 4368928

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packaging/packager

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ fi
5858
function package_libc_via_pacman {
5959
if grep "Arch Linux" < /etc/os-release > /dev/null 2>&1; then
6060
if type pacman > /dev/null 2>&1; then
61-
pacman --files --list --quiet glibc | sed -E '/\.so$|\.so\.[0-9]+$/!d'
61+
pacman --query --list --quiet glibc | sed -E '/\.so$|\.so\.[0-9]+$/!d'
6262
fi
6363
fi
6464
}

0 commit comments

Comments
 (0)