Skip to content

Commit

Permalink
proxmox: docker-compose.sh should repair dpkg first
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Dec 25, 2024
1 parent e467414 commit 162bb7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/proxmox/docker-compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cd /root/.scrypted
# always immediately upgrade everything in case there's a broken update.
# this will also be preferable for troubleshooting via lxc reboot.
export DEBIAN_FRONTEND=noninteractive
(apt -y --fix-broken install && (yes | dpkg --configure -a) && apt -y update && apt -y dist-upgrade) &
((yes | dpkg --configure -a) && apt -y --fix-broken install && apt -y update && apt -y dist-upgrade) &
# foreground pull if requested.
if [ -e "volume/.pull" ]
Expand Down

0 comments on commit 162bb7b

Please sign in to comment.