From 40ad663997f4865a13a737f474a4c10f18f51e96 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 27 Jan 2023 02:01:45 -0500 Subject: [PATCH] update sources --- install/hyperion-v5-install.sh | 4 +--- install/nginxproxymanager-v5-install.sh | 4 +--- install/scrypted-v5-install.sh | 4 +--- install/syncthing-v5-install.sh | 4 +--- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/install/hyperion-v5-install.sh b/install/hyperion-v5-install.sh index 05558e6b..b3eed082 100644 --- a/install/hyperion-v5-install.sh +++ b/install/hyperion-v5-install.sh @@ -92,9 +92,7 @@ msg_ok "Installed Dependencies" msg_info "Installing Hyperion" wget -qO- https://apt.hyperion-project.org/hyperion.pub.key | gpg --dearmor -o /usr/share/keyrings/hyperion.pub.gpg -cat </etc/apt/sources.list.d/hyperion.list -deb [signed-by=/usr/share/keyrings/hyperion.pub.gpg] https://apt.hyperion-project.org/ bullseye main -EOF +sh -c 'echo "deb [signed-by=/usr/share/keyrings/hyperion.pub.gpg] https://apt.hyperion-project.org/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/hyperion.list' $STD apt-get update $STD apt-get install -y hyperion $STD systemctl enable --now hyperion@root.service diff --git a/install/nginxproxymanager-v5-install.sh b/install/nginxproxymanager-v5-install.sh index 7fb0efa9..e97c311e 100644 --- a/install/nginxproxymanager-v5-install.sh +++ b/install/nginxproxymanager-v5-install.sh @@ -114,9 +114,7 @@ msg_ok "Installed Python" msg_info "Installing Openresty" $STD apt-key add <(curl -fsSL https://openresty.org/package/pubkey.gpg) -cat </etc/apt/sources.list.d/openresty.list -deb http://openresty.org/package/debian bullseye openresty -EOF +sh -c 'echo "deb http://openresty.org/package/debian $(lsb_release -cs) openresty" > /etc/apt/sources.list.d/openresty.list' $STD apt-get -y update $STD apt-get -y install --no-install-recommends openresty msg_ok "Installed Openresty" diff --git a/install/scrypted-v5-install.sh b/install/scrypted-v5-install.sh index f0694686..4118fab3 100644 --- a/install/scrypted-v5-install.sh +++ b/install/scrypted-v5-install.sh @@ -153,9 +153,7 @@ fi if [[ $CORAL == "Y" ]]; then msg_info "Adding Coral Edge TPU Support" $STD apt-key add <(curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg) -cat </etc/apt/sources.list.d/coral-edgetpu.list -deb https://packages.cloud.google.com/apt coral-edgetpu-stable main -EOF +sh -c 'echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" > /etc/apt/sources.list.d/coral-edgetpu.list' $STD apt-get -y update $STD apt-get -y install libedgetpu1-std msg_ok "Coral Edge TPU Support Added" diff --git a/install/syncthing-v5-install.sh b/install/syncthing-v5-install.sh index dd5d92f7..f8370423 100644 --- a/install/syncthing-v5-install.sh +++ b/install/syncthing-v5-install.sh @@ -90,9 +90,7 @@ msg_ok "Installed Dependencies" msg_info "Installing Syncthing" curl -s -o /usr/share/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg -cat </etc/apt/sources.list.d/syncthing.list -deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable -EOF +sh -c 'echo "deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" > /etc/apt/sources.list.d/syncthing.list' $STD apt-get update $STD apt-get install -y syncthing $STD systemctl enable syncthing@root.service