mirror of
https://github.com/guezoloic/serverconfig.git
synced 2026-03-28 18:03:49 +00:00
fix: cron added along with procps to necessary packages
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
PROJECT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
readonly PROJECT_DIR 2>/dev/null
|
||||
|
||||
source $PROJECT_DIR/utils.sh
|
||||
source $PROJECT_DIR/utils.sh 2>/dev/null
|
||||
source $ENV_FILE
|
||||
|
||||
INSTALLED=$1
|
||||
|
||||
@@ -13,6 +13,13 @@ ENV_LIST=(
|
||||
"GITHUB_AUTH_SECRET"
|
||||
)
|
||||
|
||||
readonly REQ=(
|
||||
"curl"
|
||||
"docker"
|
||||
"crontab"
|
||||
"procps"
|
||||
)
|
||||
|
||||
function check_root() {
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
log_error "The script needs to run as root."
|
||||
|
||||
Reference in New Issue
Block a user