mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
@@ -31,6 +31,6 @@ else
|
||||
[ -z "$c" ] && c="${fallback}"
|
||||
# Replace any hyphens with carets which are allowed in versions by pacman whereas hyphens are not. Git
|
||||
# versions with carets will also sort higher than their non-git version counterpart both in pacman
|
||||
# versioning and in version comparision spec versioning.
|
||||
# versioning and in version comparison spec versioning.
|
||||
echo "$c" | sed 's/^v//; s/-/^/g'
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user