getsolus / ypkg

Modern, declarative, structured build format
https://getsol.us
GNU General Public License v3.0
22 stars 11 forks source link

Add macro to check for broken symlinks in installdir #62

Closed Staudey closed 5 months ago

Staudey commented 7 months ago

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.