make simple

This commit is contained in:
Meliox 2025-08-07 11:55:32 +02:00
parent ab9e814f97
commit afa6f1f93a

View File

@ -77,9 +77,7 @@ function usage {
# System checks
function check_root_privileges() {
if [[ $EUID -ne 0 ]]; then
err "This script must be run as root. Please run it with 'sudo $0'."
fi
[[ $EUID -eq 0 ]] || err "This script must be run as root. Please run it with 'sudo $0'."
}
# Define a function to install packages