mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Update sury apt key
This commit is contained in:
parent
ec4b1e9f96
commit
707180da43
1 changed files with 6 additions and 0 deletions
|
@ -69,6 +69,12 @@ do_post_regen() {
|
||||||
wget --timeout 900 --quiet "https://packages.sury.org/php/apt.gpg" --output-document=- | gpg --dearmor >"/etc/apt/trusted.gpg.d/extra_php_version.gpg"
|
wget --timeout 900 --quiet "https://packages.sury.org/php/apt.gpg" --output-document=- | gpg --dearmor >"/etc/apt/trusted.gpg.d/extra_php_version.gpg"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Update sury apt key if 95BD4743 is present
|
||||||
|
if apt-key list | grep -q "95BD4743"; then
|
||||||
|
echo "Updating sury apt key..."
|
||||||
|
apt-key del 95BD4743; wget -nv -O - "https://packages.sury.org/php/apt.gpg" | apt-key add -
|
||||||
|
fi
|
||||||
|
|
||||||
# Make sure php7.4 is the default version when using php in cli
|
# Make sure php7.4 is the default version when using php in cli
|
||||||
if test -e /usr/bin/php$YNH_DEFAULT_PHP_VERSION
|
if test -e /usr/bin/php$YNH_DEFAULT_PHP_VERSION
|
||||||
then
|
then
|
||||||
|
|
Loading…
Add table
Reference in a new issue