From 2e60a7f7cfffd26b22896e8a164e5ac66a6db590 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Wed, 7 Feb 2024 13:54:36 +0100 Subject: [PATCH] check-update before installing and add vscode --- fedora_packages | 1 + run_once_1_install_programs.sh.tmpl | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/fedora_packages b/fedora_packages index 895ad3a..7a45652 100644 --- a/fedora_packages +++ b/fedora_packages @@ -1,5 +1,6 @@ 1password bat +code fd-find fira-code-fonts fish diff --git a/run_once_1_install_programs.sh.tmpl b/run_once_1_install_programs.sh.tmpl index 7db1ad8..265dd4c 100644 --- a/run_once_1_install_programs.sh.tmpl +++ b/run_once_1_install_programs.sh.tmpl @@ -5,6 +5,11 @@ sudo rpm --import https://downloads.1password.com/linux/keys/1password.asc sudo sh -c 'echo -e "[1password]\nname=1Password Stable Channel\nbaseurl=https://downloads.1password.com/linux/rpm/stable/\$basearch\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=\"https://downloads.1password.com/linux/keys/1password.asc\"" > /etc/yum.repos.d/1password.repo' +# add vscode repository +sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc +sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo' + # install packages -sudo dnf install $(cat fedora_packages) +sudo check-update +sudo dnf install $(cat fedora_packages) -y {{ end }}