mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 08:56:15 +09: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