Initial commit

This commit is contained in:
2025-10-18 17:55:05 +03:00
commit 172951f49f
6 changed files with 366 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
URL="https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US"
# Get version number from tag name
VERSION=$(curl -sfi "$URL" | grep -o 'firefox-[0-9.]\+[0-9]' | head -n1)
# Trim prefix
VERSION=${VERSION//firefox-/}
echo "$VERSION"