Skip to content

build: does not build package if -debug package is already in local repository #1186

@AladW

Description

@AladW

Example: building the python2 PKGBUILD results in python2 and python2-debug in the local repo, but for some reason only python2-debug remains (e.g. after a partial repo-remove). Then aur-build believes python2 is still available and skip building it.

This is due to the overwrite check, which skips the build if any entry of the aur-build--pkglist output is found:

        if (( ${#exists[@]} )); then
            printf >&2 '%s: warning: skipping existing package (use -f to overwrite)\n' "$argv0"
            create_package=0

            printf '%q\n' >&2 "${exists[@]}"
            pkglist=("${exists[@]}")
        fi

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions