This commit is contained in:
Whispering Wind
2024-09-03 00:29:15 +03:30
committed by GitHub
parent b6f8e8f40a
commit 3c0811738c

View File

@ -1,3 +1,5 @@
#!/bin/bash
check_os_version() { check_os_version() {
local os_name os_version local os_name os_version
@ -10,7 +12,6 @@ check_os_version() {
fi fi
if ! command -v bc &> /dev/null; then if ! command -v bc &> /dev/null; then
echo "The 'bc' command is required but not installed. Installing..."
apt update && apt install -y bc apt update && apt install -y bc
fi fi