check-update before installing and add vscode
This commit is contained in:
parent
f5053d1255
commit
2e60a7f7cf
2 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
1password
|
1password
|
||||||
bat
|
bat
|
||||||
|
code
|
||||||
fd-find
|
fd-find
|
||||||
fira-code-fonts
|
fira-code-fonts
|
||||||
fish
|
fish
|
||||||
|
|
|
@ -5,6 +5,11 @@
|
||||||
sudo rpm --import https://downloads.1password.com/linux/keys/1password.asc
|
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'
|
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
|
# install packages
|
||||||
sudo dnf install $(cat fedora_packages)
|
sudo check-update
|
||||||
|
sudo dnf install $(cat fedora_packages) -y
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue