Skip to content

Commit d1225d1

Browse files
authored
Ignore expired apt keys in Debian Stretch (#1099)
1 parent 9b71a1c commit d1225d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

install-php-extensions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4971,7 +4971,7 @@ invokeAptGetUpdate() {
49714971
apt-get update -q 2>"$invokeAptGetUpdate_tmp"
49724972
if test -s "$invokeAptGetUpdate_tmp"; then
49734973
cat "$invokeAptGetUpdate_tmp" >&2
4974-
if grep -qE ' KEYEXPIRED [0-9]' "$invokeAptGetUpdate_tmp"; then
4974+
if grep -qE ' KEYEXPIRED [0-9A-Z]' "$invokeAptGetUpdate_tmp" || grep -qE ' EXPKEYSIG [0-9A-Z]' "$invokeAptGetUpdate_tmp"; then
49754975
echo '############' >&2
49764976
echo '# WARNING! #' >&2
49774977
echo '############' >&2

0 commit comments

Comments
 (0)