Skip to content

Add macro to check for broken symlinks in installdir#62

Merged
ermo merged 1 commit into
getsolus:masterfrom
Staudey:broken-symlink-macro
Apr 5, 2024
Merged

Add macro to check for broken symlinks in installdir#62
ermo merged 1 commit into
getsolus:masterfrom
Staudey:broken-symlink-macro

Conversation

@Staudey
Copy link
Copy Markdown
Member

@Staudey Staudey commented Feb 24, 2024

This adds the %symlink_check macro to look for and exit on finding broken symlinks.

Exporting SYMLINK_WARN will make it just print the broken symlinks and warning message without halting the package build.

Copy link
Copy Markdown
Contributor

@ermo ermo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Smart money is on ensuring that this is also landed in the python3 version of ypkg...

Comment thread ypkg2/rc.yml Outdated
Signed-off-by: Thomas Staudinger <Staudi.Kaos@gmail.com>
@Staudey Staudey force-pushed the broken-symlink-macro branch from 1bde3ce to c929d8c Compare February 26, 2024 22:21
Copy link
Copy Markdown
Contributor

@ermo ermo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Still think it would be wise to have an identical PR for eopkg py3, but that shouldn't stop this PR from getting merged.

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.

3 participants