From fd10d9ac2002dbf1eade75fd113b683893fc2201 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Fri, 12 Mar 2021 13:21:25 +0000 Subject: [PATCH] Force update repo key --- debian9-x86_64.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian9-x86_64.sh b/debian9-x86_64.sh index 2d1af03..60966c2 100755 --- a/debian9-x86_64.sh +++ b/debian9-x86_64.sh @@ -139,6 +139,10 @@ if [ "$REINSTALL" = "no" ] && [ "$CURRENT_OMR" = "$OMR_VERSION" ]; then exit 1 fi +[ -f /etc/apt/sources.list.d/openmptcprouter.list ] && { + echo "Update ${REPO} key" + wget -O - https://${REPO}/openmptcprouter.gpg.key | apt-key add - +} echo "Remove lock and update packages list..." rm -f /var/lib/dpkg/lock