From 5909d513e864005781c5920bb65807b35c3fd9f3 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Wed, 2 Apr 2025 10:57:31 +0200 Subject: [PATCH] test --- ct/ubuntu.sh | 25 +++++++++++++------------ install/ubuntu-install.sh | 2 +- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/ct/ubuntu.sh b/ct/ubuntu.sh index 1901951..28266e3 100644 --- a/ct/ubuntu.sh +++ b/ct/ubuntu.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/github.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE @@ -20,18 +21,18 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /var ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating ${APP} LXC" - $STD apt-get update - $STD apt-get -y upgrade - msg_ok "Updated ${APP} LXC" + header_info + check_container_storage + check_container_resources + if [[ ! -d /var ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating ${APP} LXC" + $STD apt-get update + $STD apt-get -y upgrade + msg_ok "Updated ${APP} LXC" + exit } start @@ -39,4 +40,4 @@ build_container description msg_ok "Completed Successfully!\n" -echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" \ No newline at end of file +echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" diff --git a/install/ubuntu-install.sh b/install/ubuntu-install.sh index cee1f77..e487202 100644 --- a/install/ubuntu-install.sh +++ b/install/ubuntu-install.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash - +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/github.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) # License: MIT