This commit is contained in:
Alexey Berezhok
2024-03-19 22:05:27 +03:00
commit 346a50856b
1572 changed files with 182163 additions and 0 deletions

37
bin/v-update-sys-hestia-all Executable file
View File

@@ -0,0 +1,37 @@
#!/bin/bash
# info: update all hestia packages
# options: NONE
#
# example: v-update-sys-hestia-all
#
# This function of updating all hestia packages
#----------------------------------------------------------#
# Variables & Functions #
#----------------------------------------------------------#
# Includes
# shellcheck source=/etc/hestiacp/hestia.conf
source /etc/hestiacp/hestia.conf
# shellcheck source=/usr/local/hestia/func/main.sh
source $HESTIA/func/main.sh
# load config file
source_conf "$HESTIA/conf/hestia.conf"
# Perform verification if read-only mode is enabled
check_hestia_demo_mode
#----------------------------------------------------------#
# Action #
#----------------------------------------------------------#
# Starting update loop
for package in hestia hestia-nginx hestia-php; do
$BIN/v-update-sys-hestia "$package"
done
#----------------------------------------------------------#
# Hestia #
#----------------------------------------------------------#
exit