makepkg: install debug symbol packages if requested
When using "makepkg -i", install the debugging symbol packages too
if present. Signed-off-by: Allan McRae <allan@archlinux.org> --- scripts/makepkg.sh.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index d36995a..5822843 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -2000,6 +2000,10 @@ install_package() { fullver=$(get_full_version $pkg) pkgarch=$(get_pkg_arch $pkg) pkglist+=("$PKGDEST/${pkg}-${fullver}-${pkgarch}${PKGEXT}") + + if [[ -f "$PKGDEST/${pkg}-debug-${fullver}-${pkgarch}${PKGEXT}" ]]; then + pkglist+=("$PKGDEST/${pkg}-debug-${fullver}-${pkgarch}${PKGEXT}") + fi done if ! run_pacman -U ${pkglist[@]}; then -- 1.7.12.1 |
| All times are GMT. The time now is 03:15 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.