1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-03-09 15:50:00 +00:00

Force update repo key

This commit is contained in:
Ycarus (Yannick Chabanois) 2021-03-12 13:21:25 +00:00
parent 8e738a8f19
commit fd10d9ac20

View file

@ -139,6 +139,10 @@ if [ "$REINSTALL" = "no" ] && [ "$CURRENT_OMR" = "$OMR_VERSION" ]; then
exit 1 exit 1
fi 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..." echo "Remove lock and update packages list..."
rm -f /var/lib/dpkg/lock rm -f /var/lib/dpkg/lock