Update photoprism-install.sh

This commit is contained in:
tteckster 2022-05-06 06:23:05 -04:00 committed by GitHub
parent 74592c19eb
commit 5477cc60b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,6 +54,12 @@ done
msg_ok "Set up Container OS" msg_ok "Set up Container OS"
msg_ok "Network Connected: ${BL}$(hostname -I)" msg_ok "Network Connected: ${BL}$(hostname -I)"
if : >/dev/tcp/8.8.8.8/53; then
msg_ok "Internet Online"
else
echo -e "${BFR} ${CROSS}${RD} Internet Offline"
fi
msg_info "Updating Container OS" msg_info "Updating Container OS"
apt update &>/dev/null apt update &>/dev/null
apt-get -qqy upgrade &>/dev/null apt-get -qqy upgrade &>/dev/null