1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-02-12 19:31:54 +00:00

Fix buster backports for existing install

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-04-15 15:03:24 +00:00
parent efdb9e3ef7
commit 49390c7277

View file

@ -215,6 +215,7 @@ echo "Remove lock and update packages list..."
rm -f /var/lib/dpkg/lock rm -f /var/lib/dpkg/lock
rm -f /var/lib/dpkg/lock-frontend rm -f /var/lib/dpkg/lock-frontend
rm -f /var/cache/apt/archives/lock rm -f /var/cache/apt/archives/lock
rm -f /etc/apt/sources.list.d/buster-backports.list
if [ "$ID" = "debian" ] && [ "$VERSION_ID" = "9" ]; then if [ "$ID" = "debian" ] && [ "$VERSION_ID" = "9" ]; then
apt-get update apt-get update
else else