Update deconz-install.sh

fixes https://github.com/tteck/Proxmox/issues/2578
This commit is contained in:
tteckster 2024-02-28 17:11:59 -05:00 committed by GitHub
parent 0567a46afd
commit 9cad7288c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -26,8 +26,9 @@ echo "deb [arch=amd64] http://phoscon.de/apt/deconz $VERSION main" >/etc/apt/sou
msg_ok "Setup Phoscon Repository" msg_ok "Setup Phoscon Repository"
msg_info "Installing deConz" msg_info "Installing deConz"
wget -qL http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.21_amd64.deb libssl=$(curl -fsSL "http://security.ubuntu.com/ubuntu/pool/main/o/openssl/" | grep -o 'libssl1\.1_1\.1\.1f-1ubuntu2\.2[^"]*amd64\.deb' | head -n1)
$STD dpkg -i libssl1.1_1.1.1f-1ubuntu2.21_amd64.deb wget -qL http://security.ubuntu.com/ubuntu/pool/main/o/openssl/$libssl
$STD dpkg -i $libssl
$STD apt-get update $STD apt-get update
$STD apt-get install -y deconz $STD apt-get install -y deconz
msg_ok "Installed deConz" msg_ok "Installed deConz"
@ -56,7 +57,7 @@ motd_ssh
customize customize
msg_info "Cleaning up" msg_info "Cleaning up"
rm -rf libssl1.1_1.1.1f-1ubuntu2.21_amd64.deb rm -rf $libssl
$STD apt-get autoremove $STD apt-get autoremove
$STD apt-get autoclean $STD apt-get autoclean
msg_ok "Cleaned" msg_ok "Cleaned"