Update OS

This commit is contained in:
Whispering Wind
2025-05-06 19:06:34 +03:30
committed by GitHub
parent 1b3f9ee351
commit 5364b29fb2

View File

@ -16,10 +16,10 @@ check_os_version() {
fi fi
if [[ "$os_name" == "ubuntu" && $(echo "$os_version >= 22" | bc) -eq 1 ]] || if [[ "$os_name" == "ubuntu" && $(echo "$os_version >= 22" | bc) -eq 1 ]] ||
[[ "$os_name" == "debian" && $(echo "$os_version >= 11" | bc) -eq 1 ]]; then [[ "$os_name" == "debian" && $(echo "$os_version >= 12" | bc) -eq 1 ]]; then
return 0 return 0
else else
echo "This script is only supported on Ubuntu 22+ or Debian 11+." echo "This script is only supported on Ubuntu 22+ or Debian 12+."
exit 1 exit 1
fi fi
} }