shebang
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user