mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-11 14:12:14 +00:00
Compare commits
No commits in common. "026b0f4105c709a0139b3aa285263203b7d1e923" and "fabbe5925bd3ab05c00a76f41f2919f3a98ae25f" have entirely different histories.
026b0f4105
...
fabbe5925b
@ -55,7 +55,10 @@ function default_settings() {
|
|||||||
function update_script() {
|
function update_script() {
|
||||||
header_info
|
header_info
|
||||||
if [[ ! -d /var/lib/radarr/ ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
if [[ ! -d /var/lib/radarr/ ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||||
msg_error "There is currently no update path available."
|
msg_info "Updating $APP LXC"
|
||||||
|
apt-get update &>/dev/null
|
||||||
|
apt-get -y upgrade &>/dev/null
|
||||||
|
msg_ok "Updated $APP LXC"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ for container in $(pct list | awk '{if(NR>1) print $1}'); do
|
|||||||
done
|
done
|
||||||
wait
|
wait
|
||||||
header_info
|
header_info
|
||||||
echo -e "${GN}The process is complete, and the containers have been successfully updated.${CL}\n"
|
echo -e "${GN}The process is complete, and the selected containers have been updated.${CL}\n"
|
||||||
if [ "${#containers_needing_reboot[@]}" -gt 0 ]; then
|
if [ "${#containers_needing_reboot[@]}" -gt 0 ]; then
|
||||||
echo -e "${RD}The following containers require a reboot:${CL}"
|
echo -e "${RD}The following containers require a reboot:${CL}"
|
||||||
for container_name in "${containers_needing_reboot[@]}"; do
|
for container_name in "${containers_needing_reboot[@]}"; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user