Add new GPG key for Nginx repository
This commit is contained in:
9
install
9
install
@@ -572,12 +572,8 @@ wo_upgrade_nginx() {
|
||||
CHECK_PHP72=$(command -v php-fpm7.2)
|
||||
|
||||
# add new Nginx repository
|
||||
if [ "$wo_distro_version" == "jessie" ]; then
|
||||
# import the respository key for updates
|
||||
curl -sL https://build.opensuse.org/projects/home:virtubox/public_key | apt-key add -
|
||||
else
|
||||
curl -sL https://build.opensuse.org/projects/home:virtubox/public_key | apt-key add -
|
||||
fi
|
||||
# import the respository key for updates
|
||||
curl -sL https://build.opensuse.org/projects/home:virtubox/public_key | apt-key add -
|
||||
|
||||
# install new nginx package
|
||||
if {
|
||||
@@ -755,6 +751,7 @@ wo_init() {
|
||||
# import easyengine opensusebuildservice gpg key to avoid issues with packages update
|
||||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3050ac3cd2ae6f03 >/dev/null 2>&1
|
||||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xF1656F24C74CD1D8 >/dev/null 2>&1
|
||||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys cf0b928cded64f3b >/dev/null 2>&1
|
||||
# fix digitalocean mariadb repository issue
|
||||
sed -i 's/sfo1.mirrors.digitalocean.com\/mariadb/mariadb.mirrors.ovh.net\/MariaDB/' /etc/apt/sources.list.d/*.list >/dev/null 2>&1
|
||||
if [ -f /etc/apt/preferences.d/MariaDB.pref ]; then
|
||||
|
||||
Reference in New Issue
Block a user