From 0fcdfe6788ad3dcb982ea90465f369d405a80020 Mon Sep 17 00:00:00 2001 From: pvincent Date: Fri, 9 Sep 2022 16:15:48 +0400 Subject: [PATCH] mithril apt repository --- src/main | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main b/src/main index c71ccca..f963016 100755 --- a/src/main +++ b/src/main @@ -62,6 +62,12 @@ REQUIRED_PACKAGES=( [ $(id -u) -eq 0 ] && echo 'normal user required' && exit -1 +echo "# configure apt sources to the mithril's" +echo "========================================" +echo "deb http://debian.mithril.re/debian bullseye main contrib non-free" | sudo tee /etc/apt/sources.list +echo "deb http://debian.mithril.re/debian bullseye-updates main contrib non-free" | sudo tee -a /etc/apt/sources.list +echo "deb http://debian.mithril.re/debian-security/ bullseye-security main contrib non-free" | sudo tee -a /etc/apt/sources.list + echo "# updating repositories" echo "===================" if [[ $(date --date='-12 hours' +%s) -gt $(date -d "$(stat -c %y /var/lib/apt/lists/partial)" +%s) ]]; then