Update package version to 3.3
This commit is contained in:
1 parent
8c1d7b89ed
commit
4c1122ff8b
2 files changed
+12
-2
No files matched your search
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
URL="ftp://ftp.gnu.org/gnu/gperf/"
|
||||
|
||||
# Get version number from FTP server
|
||||
VERSION=$(curl -s --list-only "$URL" | grep -E '^gperf-[0-9]{1,}\.[0-9]{1,}(\.[0-9]{1,})?.tar.gz$' | cut -d '-' -f2 | sort -V | tail -n1)
|
||||
|
||||
# Remove '.tar.gz' suffix from VERSION variable
|
||||
VERSION=${VERSION//.tar.gz/}
|
||||
|
||||
echo "$VERSION"
|
||||
Reference in new issue
Block a user