docker-php-extension-installer/scripts/fix-jessie-keyring

13 lines
404 B
Plaintext
Raw Normal View History

2022-11-21 11:31:40 +00:00
#!/bin/sh
# Let's set a sane environment
set -o errexit
set -o nounset
if grep -q 'VERSION="8 (jessie)"' /etc/os-release; then
echo 'Fix Debian Jessie keyring'
curl -o /tmp/debian-archive-keyring.deb -sSLf http://ftp.debian.org/debian/pool/main/d/debian-archive-keyring/debian-archive-keyring_2019.1+deb10u1_all.deb
dpkg -i /tmp/debian-archive-keyring.deb
rm -rf /tmp/debian-archive-keyring.deb
fi