diff --git a/ct/apache-guacamole.sh b/ct/apache-guacamole.sh index 5b3de7d63..187ff500c 100644 --- a/ct/apache-guacamole.sh +++ b/ct/apache-guacamole.sh @@ -20,16 +20,16 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /opt/apache-guacamole ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - setup_mariadb - msg_error "Currently we don't provide an update function for this ${APP}." + header_info + check_container_storage + check_container_resources + if [[ ! -d /opt/apache-guacamole ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + setup_mariadb + msg_error "Currently we don't provide an update function for this ${APP}." + exit } start diff --git a/ct/dolibarr.sh b/ct/dolibarr.sh index 2442ea8d8..fa8ab75da 100644 --- a/ct/dolibarr.sh +++ b/ct/dolibarr.sh @@ -20,16 +20,16 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /usr/share/dolibarr ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - setup_mariadb - msg_error "To update ${APP}, use the applications web interface." + header_info + check_container_storage + check_container_resources + if [[ ! -d /usr/share/dolibarr ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + setup_mariadb + msg_error "To update ${APP}, use the applications web interface." + exit } start @@ -39,4 +39,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}/dolibarr/install${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}/dolibarr/install${CL}" diff --git a/ct/kimai.sh b/ct/kimai.sh index 48d06cf3f..dcd24cca5 100644 --- a/ct/kimai.sh +++ b/ct/kimai.sh @@ -35,7 +35,7 @@ function update_script() { PHP_VERSION="8.4" PHP_MODULE="mysql" PHP_APACHE="YES" setup_php setup_composer - if check_for_gh_release "kimai" "kimai/kimai"; then + if check_for_gh_release "kimai" "kimai/kimai"; then BACKUP_DIR="/opt/kimai_backup" msg_info "Stopping Apache2" diff --git a/ct/limesurvey.sh b/ct/limesurvey.sh index 37745eb45..c72618aba 100644 --- a/ct/limesurvey.sh +++ b/ct/limesurvey.sh @@ -20,17 +20,17 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /opt/limesurvey ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - setup_mariadb - - msg_warn "Application is updated via Web Interface" + header_info + check_container_storage + check_container_resources + if [[ ! -d /opt/limesurvey ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + setup_mariadb + + msg_warn "Application is updated via Web Interface" + exit } start diff --git a/ct/mariadb.sh b/ct/mariadb.sh index ea7004d94..4d87d63b4 100644 --- a/ct/mariadb.sh +++ b/ct/mariadb.sh @@ -20,19 +20,19 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /etc/mysql/mariadb.conf.d ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - setup_mariadb - msg_info "Updating ${APP} LXC" - $STD apt update - $STD apt -y upgrade - msg_ok "Updated successfully!" + header_info + check_container_storage + check_container_resources + if [[ ! -d /etc/mysql/mariadb.conf.d ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + setup_mariadb + msg_info "Updating ${APP} LXC" + $STD apt update + $STD apt -y upgrade + msg_ok "Updated successfully!" + exit } start diff --git a/ct/miniflux.sh b/ct/miniflux.sh index a5f303422..82ecc888e 100644 --- a/ct/miniflux.sh +++ b/ct/miniflux.sh @@ -34,7 +34,7 @@ function update_script() { msg_ok "Service Stopped" fetch_and_deploy_gh_release "miniflux" "miniflux/v2" "binary" "latest" - + msg_info "Updating Miniflux" $STD miniflux -migrate -config-file /etc/miniflux.conf msg_ok "Updated Miniflux"