소스 검색

update sources

tteckster 2 년 전
부모
커밋
40ad663997
4개의 변경된 파일4개의 추가작업 그리고 12개의 파일을 삭제
  1. 1 3
      install/hyperion-v5-install.sh
  2. 1 3
      install/nginxproxymanager-v5-install.sh
  3. 1 3
      install/scrypted-v5-install.sh
  4. 1 3
      install/syncthing-v5-install.sh

+ 1 - 3
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 <<EOF >/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

+ 1 - 3
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 <<EOF >/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"

+ 1 - 3
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 <<EOF >/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"

+ 1 - 3
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 <<EOF >/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