Updated gpg keys for apache2 and php repo for debian
This commit is contained in:
@@ -79,7 +79,7 @@ apache () {
|
||||
if [ "$osrel" = "ubu1804" ] || [ "$osrel" = "ubu2004" ] ; then
|
||||
add-apt-repository --no-update ppa:ondrej/apache2 -y -n
|
||||
elif [ "$osrel" = "deb10" ]; then
|
||||
curl --retry 7 --retry-delay 5 -s https://packages.sury.org/apache2/apt.gpg -o /etc/apt/trusted.gpg.d/apache2.gpg
|
||||
curl -fsSL https://packages.sury.org/apache2/apt.gpg | apt-key add -
|
||||
echo "deb https://packages.sury.org/apache2/ "$dist_name" main" > /etc/apt/sources.list.d/apache2.list
|
||||
else
|
||||
echo "$repo repository not available for this Distro"
|
||||
@@ -109,7 +109,7 @@ php () {
|
||||
if [ "$osrel" = "ubu1804" ] || [ "$osrel" = "ubu2004" ] ; then
|
||||
add-apt-repository --no-update ppa:ondrej/php -y -n
|
||||
elif [ "$osrel" = "deb10" ]; then
|
||||
curl --retry 7 --retry-delay 5 -s https://packages.sury.org/php/apt.gpg -o /etc/apt/trusted.gpg.d/php.gpg
|
||||
curl -fsSL https://packages.sury.org/php/apt.gpg | apt-key add -
|
||||
echo "deb https://packages.sury.org/php/ "$dist_name" main" > /etc/apt/sources.list.d/php.list
|
||||
elif [ "$osrel" = "el8" ]; then
|
||||
rpm --import https://rpms.remirepo.net/RPM-GPG-KEY-remi2018
|
||||
|
||||
Reference in New Issue
Block a user