From 6f241605f43e9981f1717447da155fe08f617ea3 Mon Sep 17 00:00:00 2001 From: Donkie Date: Sat, 25 Nov 2023 21:36:27 +0100 Subject: [PATCH] Run apt-get update in install script --- scripts/install_debian.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/install_debian.sh b/scripts/install_debian.sh index 0263be3..4d123f1 100755 --- a/scripts/install_debian.sh +++ b/scripts/install_debian.sh @@ -55,6 +55,10 @@ fi # # Install needed system packages # +# Run apt-get update +echo -e "${GREEN}Updating apt-get cache...${NC}" +sudo apt-get update || exit 1 + install_packages=0 if ! python3 -c 'import venv, ensurepip' &>/dev/null; then echo -e "${ORANGE}Python venv module is not accessible. Installing venv...${NC}"