Update yunohost-install.sh

apt-key is deprecated
This commit is contained in:
tteckster 2023-06-30 06:51:35 -04:00 committed by GitHub
parent 34e22223f5
commit ecfb57a919
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,14 +18,13 @@ $STD apt-get install -y curl
$STD apt-get install -y sudo $STD apt-get install -y sudo
$STD apt-get install -y mc $STD apt-get install -y mc
$STD apt-get install -y gnupg $STD apt-get install -y gnupg
$STD apt-key adv --fetch-keys 'https://packages.sury.org/php/apt.gpg'
$STD apt-get install -y apt-transport-https $STD apt-get install -y apt-transport-https
$STD apt-get install -y lsb-release $STD apt-get install -y lsb-release
$STD apt-get install -y ca-certificates $STD apt-get install -y ca-certificates
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing YunoHost (Patience)" msg_info "Installing YunoHost (Patience)"
wget -q -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg
$STD bash <(curl -fsSL https://install.yunohost.org) -a $STD bash <(curl -fsSL https://install.yunohost.org) -a
msg_ok "Installed YunoHost" msg_ok "Installed YunoHost"