From 44b99d9246758b11f34ddf4f1efc46d546655894 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Tue, 27 Feb 2024 10:42:25 +0100 Subject: [PATCH] Up. --- .../run_onchange_10-install-packages.sh.tmpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/home/.chezmoiscripts/run_onchange_10-install-packages.sh.tmpl b/home/.chezmoiscripts/run_onchange_10-install-packages.sh.tmpl index 38ea113..f74b3bb 100644 --- a/home/.chezmoiscripts/run_onchange_10-install-packages.sh.tmpl +++ b/home/.chezmoiscripts/run_onchange_10-install-packages.sh.tmpl @@ -60,11 +60,15 @@ packages=( echo -e "\033[0;32m>>>>> Begin Debian/Ubuntu Linux packages installation <<<<<\033[0m" - ## Update system + ## Add repositories and update system {{- if ne .chezmoi.username "root" }} + wget -qO - 'https://proget.makedeb.org/debian-feeds/makedeb.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/makedeb-archive-keyring.gpg 1> /dev/null + echo 'deb [signed-by=/usr/share/keyrings/makedeb-archive-keyring.gpg arch=all] https://proget.makedeb.org/ makedeb main' | sudo tee /etc/apt/sources.list.d/makedeb.list DEBIAN_FRONTEND=noninteractive sudo -E apt update DEBIAN_FRONTEND=noninteractive sudo -E apt upgrade --yes {{- else }} + wget -qO - 'https://proget.makedeb.org/debian-feeds/makedeb.pub' | gpg --dearmor | tee /usr/share/keyrings/makedeb-archive-keyring.gpg 1> /dev/null + echo 'deb [signed-by=/usr/share/keyrings/makedeb-archive-keyring.gpg arch=all] https://proget.makedeb.org/ makedeb main' | tee /etc/apt/sources.list.d/makedeb.list DEBIAN_FRONTEND=noninteractive apt update DEBIAN_FRONTEND=noninteractive apt upgrade --yes {{- end}}