Update fedora config

This commit is contained in:
askiiart 2024-03-17 18:56:48 -05:00
parent af36cfcba4
commit d0e2481afd
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
9 changed files with 22 additions and 74 deletions

View file

@ -16,11 +16,10 @@ if command_exists "apt-get"; then
sudo apt install apt-transport-https
sudo apt update
sudo apt install code
elif command_exists "yum"; then
elif command_exists "dnf"; then
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'
yum check-update
sudo yum install code -y
sudo dnf install code -y
elif command_exists "yay"; then
yay -S visual-studio-code-bin clang-format-static-bin --noconfirm --needed
elif command_exists "zypp"; then