mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-29 00:06:19 +01:00
17 lines
413 B
Bash
17 lines
413 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -euxo pipefail
|
||
|
|
||
|
tempio_version="2021.09.0"
|
||
|
|
||
|
if [[ "${TARGETARCH}" == "amd64" ]]; then
|
||
|
arch="amd64"
|
||
|
elif [[ "${TARGETARCH}" == "arm64" ]]; then
|
||
|
arch="aarch64"
|
||
|
fi
|
||
|
|
||
|
mkdir -p /rootfs/usr/local/tempio/bin
|
||
|
|
||
|
wget -q -O /rootfs/usr/local/tempio/bin/tempio "https://github.com/home-assistant/tempio/releases/download/${tempio_version}/tempio_${arch}"
|
||
|
chmod 755 /rootfs/usr/local/tempio/bin/tempio
|