Skip to content

Commit

Permalink
Ignore failures during apt-get update
Browse files Browse the repository at this point in the history
This commit updates the installation script to ignore failures that
occur during apt-get update. Some users are reporting that this command
is failing causing the installation script to abort. This is a
best-effort attempt to proceed with the installation.
  • Loading branch information
fabianishere committed Jul 2, 2023
1 parent 5418abf commit ca1bbed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ chown _apt:root "$dest/udm-iptv.deb" "$dest/igmpproxy.deb"

echo "Installing packages..."

# Update APT sources
apt-get update -q
# Update APT sources (best effort)
apt-get update -q || true

# Install dialog package for interactive install
apt-get install -q -y dialog
apt-get install -q -y dialog || echo "Failed to install dialog... Using readline frontend"

# Install udm-iptv and igmpproxy
apt-get install -q -y "$dest/igmpproxy.deb" "$dest/udm-iptv.deb"
Expand Down

0 comments on commit ca1bbed

Please sign in to comment.