makepkg: don't print per-pkgname debug packages

In commit 9a4d616220 debug packages were
merged into one exclusive pkgbase-debug, but the print_all_package_names
function did not get updated to match this logic.

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Eli Schwartz 2018-06-14 22:25:25 -04:00 committed by Allan McRae
parent d750c854bc
commit 0d6e82d374

View file

@ -188,10 +188,11 @@ print_all_package_names() {
for pkg in ${pkgname[@]}; do for pkg in ${pkgname[@]}; do
architecture=$(get_pkg_arch $pkg) architecture=$(get_pkg_arch $pkg)
printf "%s/%s-%s-%s%s\n" "$PKGDEST" "$pkg" "$version" "$architecture" "$PKGEXT" printf "%s/%s-%s-%s%s\n" "$PKGDEST" "$pkg" "$version" "$architecture" "$PKGEXT"
if check_option "debug" "y" && check_option "strip" "y"; then
printf "%s/%s-%s-%s-%s%s\n" "$PKGDEST" "$pkg" "@DEBUGSUFFIX@" "$version" "$architecture" "$PKGEXT"
fi
done done
if check_option "debug" "y" && check_option "strip" "y"; then
architecture=$(get_pkg_arch)
printf "%s/%s-%s-%s-%s%s\n" "$PKGDEST" "$pkgbase" "@DEBUGSUFFIX@" "$version" "$architecture" "$PKGEXT"
fi
} }
get_all_sources() { get_all_sources() {