Update docker-v5.sh

tweak
This commit is contained in:
tteckster 2023-01-02 09:57:48 -05:00 committed by GitHub
parent 2deeaffd69
commit 0880352c1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ if command -v pveversion >/dev/null 2>&1; then
fi fi
if ! command -v pveversion >/dev/null 2>&1; then if ! command -v pveversion >/dev/null 2>&1; then
if [[ ! -d /etc/docker ]]; then if [[ ! -d /etc/docker ]]; then
msg_error "No Docker Installation Found!"; msg_error "No ${APP} Installation Found!";
exit exit
fi fi
if (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then if (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then
@ -317,10 +317,10 @@ function install_script() {
function update_script() { function update_script() {
clear clear
header_info header_info
msg_info "Updating Docker LXC" msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null apt-get -y upgrade &>/dev/null
msg_ok "Updated Docker LXC" msg_ok "Updated ${APP} LXC"
exit exit
} }
clear clear