void-packages/srcpkgs/inxi/update

3 lines
74 B
Plaintext
Raw Normal View History

pattern="/archive/\K[\d.]+(?=[0-9a-z-]+\.tar\.gz)"
version=${version%\.*}