Update package version to 411

This commit is contained in:
2026-09-04 15:58:24 +03:00
parent e4c15fcfb7
commit ac2507b65c
2 changed files with 10 additions and 4 deletions
+7 -1
View File
@@ -3,6 +3,12 @@
URL="https://invisible-island.net/archives/xterm/"
# Get version number from tag name
VERSION=$(curl --silent "$URL" | grep -o -E 'xterm-[0-9]{1,}.tgz' | grep -o -E '[0-9]{1,}' | tail -n1)
VERSION=$(curl --silent "$URL" | grep -o -E 'xterm-[0-9]{1,}.tgz' | tail -n1)
# Trim prefix
VERSION=${VERSION//xterm-/}
# Trim suffix
VERSION=${VERSION//.tgz/}
echo "$VERSION"