Skip to content

install/resume: skip suffix when acquiring systemd version

Mike Yuan requested to merge yhndnzj/mkinitcpio:systemd-version into master

systemd's PROJECT_VERSION is reworked in https://github.com/systemd/systemd/pull/31352, and development and rc versions will contain ~devel/~rc/^commit_hash in output. Since we only care about major version, we can just strip the suffix before use.

Merge request reports