Skip to content

Commit f5e7581

Browse files
committed
Update frigate-install.sh
1 parent afd2480 commit f5e7581

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

install/frigate-install.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ msg_ok "Set Up Hardware Acceleration"
4949

5050
msg_info "Setup Frigate"
5151
RELEASE="0.16.0 Beta 4"
52+
export DEBIAN_FRONTEND=noninteractive
5253
mkdir -p /opt/frigate/models
5354
curl -fsSL https://github.com/blakeblackshear/frigate/archive/refs/tags/v0.16.0-beta4.tar.gz -o frigate.tar.gz
5455
tar -xzf frigate.tar.gz -C /opt/frigate --strip-components 1
@@ -112,6 +113,7 @@ if [[ "$semantic_choice" == "y" ]]; then
112113
else
113114
msg_ok "Skipped Semantic Search Setup"
114115
fi
116+
115117
msg_info "Building and Installing libUSB without udev"
116118
wget -qO /tmp/libusb.zip https://github.com/libusb/libusb/archive/v1.0.29.zip
117119
unzip -q /tmp/libusb.zip -d /tmp/
@@ -164,6 +166,13 @@ Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
164166
EOF
165167
sed -i -e '/^deb-src /d' -e 's/^deb /#deb /' /etc/apt/sources.list
166168
$STD apt-get update
169+
$STD apt-get -f install -y || true
170+
$STD dpkg --configure -a || true
171+
172+
for pkg in $(apt-mark showhold); do
173+
echo "Unholding $pkg"
174+
apt-mark unhold "$pkg"
175+
done
167176

168177
$STD /opt/frigate/docker/main/build_nginx.sh
169178
sed -e '/s6-notifyoncheck/ s/^#*/#/' -i /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/nginx/run

0 commit comments

Comments
 (0)