mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-17 20:11:17 +00:00
Update docker-v5.sh
tweak
This commit is contained in:
parent
2deeaffd69
commit
0880352c1a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user