Update for fedora atomic
This commit is contained in:
parent
46cdfbe486
commit
e8242b0ad0
13 changed files with 99 additions and 15 deletions
|
@ -20,6 +20,12 @@ 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'
|
||||
sudo dnf install code -y
|
||||
elif command_exists "rpm-ostree" && ! command_exists "code"; then
|
||||
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --import
|
||||
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'
|
||||
rpm-ostree install code -y
|
||||
read -p "Press enter to reboot, then run do-everything.bash again"
|
||||
reboot
|
||||
elif command_exists "yay"; then
|
||||
yay -S visual-studio-code-bin clang-format-static-bin --noconfirm --needed
|
||||
elif command_exists "zypp"; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue