Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix({build,package}.sh): log previously installed pacdeps as such #1108

Merged
merged 6 commits into from
May 7, 2024

Conversation

oklopfer
Copy link
Member

@oklopfer oklopfer commented May 7, 2024

Purpose

if I install a pacdep manually, it loses connection to its parent, and is not properly logged as a pacstall depends in metadata.

Approach

in build.sh, check if existing metadata lists this package as a pacdep; if so, log it as one.
in package.sh, if the package is already installed, check if it has the declaration in its metadata; if not, add it

Progress

  • do it
  • test it

Addendum

part of pacstall/pacstall-programs#5986

Checklist

  • I confirm that I have read the contributing guidelines, and this pull request is abiding by all the clauses stated in the guideline.

misc/scripts/build.sh Outdated Show resolved Hide resolved
oklopfer and others added 2 commits May 7, 2024 18:21
Co-authored-by: Elsie <hwengerstickel@protonmail.com>
@oklopfer oklopfer requested a review from Elsie19 May 7, 2024 22:23
@oklopfer oklopfer merged commit 6ee8815 into pacstall:develop May 7, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants