Update UPDATE.sh

This commit is contained in:
Stefan Pejcic 2024-07-02 19:24:42 +02:00 committed by GitHub
parent bff5458e51
commit 62e7b25bb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,13 +14,17 @@ RESET='\033[0m'
# Directories
OPENADMIN_DIR="/usr/local/admin/"
OPENCLI_DIR="/usr/local/admin/scripts/"
OPENPANEL_ERR_DIR="/var/log/openpanel/"
OPENPANEL_LOG_DIR="/var/log/openpanel/"
SERVICES_DIR="/etc/systemd/system/"
OPENPANEL_DIR="/usr/local/panel/"
CURRENT_PANEL_VERSION=$(< ${OPENPANEL_DIR}/version)
LOG_FILE="${OPENPANEL_LOG_DIR}admin/notifications.log"
DEBUG_MODE=0
# block updates for older versions!
required_version="0.2.1"