mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 04:03:36 +08:00
parent
5b1aa0e19a
commit
dcd484e545
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user