Initial commit

This commit is contained in:
2026-07-31 13:16:58 +03:00
commit 8af7405758
7 changed files with 682 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
URL="ftp://ftp.osuosl.org/pub/xiph/releases/cdparanoia/"
# Get version number from FTP server
VERSION=$(curl -s --list-only "$URL" | grep -o -P 'cdparanoia-III-[\d.]+.src' | tail -n1)
# Remove prefix
VERSION=${VERSION//cdparanoia-III-}
# Remove suffix
VERSION=${VERSION//.src}
echo "$VERSION"