From 3aaeca991e0903457b0f33d117ad274bb9207999 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Tue, 11 Apr 2023 23:18:53 -0500 Subject: [PATCH] using repos --- scripts/install_python2.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/install_python2.sh b/scripts/install_python2.sh index 72c08c5ef..3da8acb84 100755 --- a/scripts/install_python2.sh +++ b/scripts/install_python2.sh @@ -76,9 +76,10 @@ deb http://ports.ubuntu.com/ jammy main universe deb http://ports.ubuntu.com/ jammy-updates main universe EOF fi - apt update - apt -y install python2 - rm /etc/apt/sources.list.d/python2.list || true - apt update ;; esac + +apt update +apt -y install python2 +rm /etc/apt/sources.list.d/python2.list || true +apt update