Update fedora stuff
This commit is contained in:
parent
a14e863b2e
commit
b6f920878c
6 changed files with 12 additions and 8 deletions
|
@ -10,8 +10,9 @@ command_exists() { type "$1" &>/dev/null; }
|
||||||
if command_exists "apt-get"; then
|
if command_exists "apt-get"; then
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install curl -y
|
sudo apt install curl -y
|
||||||
elif command_exists "yum"; then
|
elif command_exists "dnf"; then
|
||||||
sudo dnf config-manager --add-repo https://askiiart.net/repos/fedora/x86_64/askiiart.repo
|
sudo dnf config-manager --add-repo https://askiiart.net/repos/fedora/x86_64/askiiart.repo
|
||||||
|
sudo dnf remove libreoffice* firefox atril -y
|
||||||
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
|
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
|
||||||
elif command_exists "pacman"; then
|
elif command_exists "pacman"; then
|
||||||
WD=$(pwd)
|
WD=$(pwd)
|
||||||
|
|
2
dotfiles
2
dotfiles
|
@ -1 +1 @@
|
||||||
Subproject commit 4139aa43087459afa073b79ff104e0f8e0b2f681
|
Subproject commit f2df8532350274f1eb9304d5e181938026bb3116
|
|
@ -14,7 +14,7 @@ if command_exists "apt-get"; then
|
||||||
echo "Types: deb\nURIs: https://deb.librewolf.net\nSuites: $distro\nComponents: main\nArchitectures: amd64\nSigned-By: /usr/share/keyrings/librewolf.gpg" | sudo tee /etc/apt/sources.list.d/librewolf.sources
|
echo "Types: deb\nURIs: https://deb.librewolf.net\nSuites: $distro\nComponents: main\nArchitectures: amd64\nSigned-By: /usr/share/keyrings/librewolf.gpg" | sudo tee /etc/apt/sources.list.d/librewolf.sources
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install librewolf -y
|
sudo apt install librewolf -y
|
||||||
elif command_exists "yum"; then
|
elif command_exists "dnf"; then
|
||||||
sudo dnf config-manager --add-repo https://rpm.librewolf.net/librewolf-repo.repo
|
sudo dnf config-manager --add-repo https://rpm.librewolf.net/librewolf-repo.repo
|
||||||
sudo dnf install librewolf
|
sudo dnf install librewolf
|
||||||
elif command_exists "pacman"; then
|
elif command_exists "pacman"; then
|
||||||
|
|
|
@ -14,8 +14,10 @@ if command_exists "apt-get"; then
|
||||||
sudo apt-get install kitty -y
|
sudo apt-get install kitty -y
|
||||||
echo "Please install SchildiChat, nvim/neovim"
|
echo "Please install SchildiChat, nvim/neovim"
|
||||||
elif command_exists "yum"; then
|
elif command_exists "yum"; then
|
||||||
sudo yum install kitty -y
|
sudo yum install kitty neovim -y
|
||||||
echo "Please install SchildiChat, nvim/neovim"
|
curl -LO $(curl -s https://api.github.com/repos/SchildiChat/schildichat-desktop/releases/latest | grep "browser_download_url.*schildichat-desktop-.*.x86_64.rpm" | cut -d : -f 2,3 | tr -d \")
|
||||||
|
sudo dnf install ./schildichat-desktop-*.x86_64.rpm
|
||||||
|
sudo rm ./schildichat-desktop-*.x86_64.rpm
|
||||||
elif command_exists "yay"; then
|
elif command_exists "yay"; then
|
||||||
yay -S kitty schildichat-desktop-bin digikam eog man-db neovim --noconfirm --needed
|
yay -S kitty schildichat-desktop-bin digikam eog man-db neovim --noconfirm --needed
|
||||||
elif command_exists "zypp"; then
|
elif command_exists "zypp"; then
|
||||||
|
|
|
@ -11,7 +11,7 @@ command_exists() { type "$1" &>/dev/null; }
|
||||||
if command_exists "apt-get"; then
|
if command_exists "apt-get"; then
|
||||||
curl -LO https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb
|
curl -LO https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb
|
||||||
sudo dpkg -i steam.deb
|
sudo dpkg -i steam.deb
|
||||||
elif command_exists "yum"; then
|
elif command_exists "dnf"; then
|
||||||
sudo dnf install steam -y
|
sudo dnf install steam -y
|
||||||
elif command_exists "yay"; then
|
elif command_exists "yay"; then
|
||||||
#printf '[multilib]\nInclude = /etc/pacman.d/mirrorlist\n'
|
#printf '[multilib]\nInclude = /etc/pacman.d/mirrorlist\n'
|
||||||
|
|
|
@ -11,8 +11,9 @@ if command_exists "apt-get"; then
|
||||||
curl $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "VencordDesktop_.*_amd64.deb" | head --lines 1 | cut -d : -f 2,3 | tr -d \") -LO
|
curl $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "VencordDesktop_.*_amd64.deb" | head --lines 1 | cut -d : -f 2,3 | tr -d \") -LO
|
||||||
sudo apt-get install ./VencordDesktop_*.deb -y
|
sudo apt-get install ./VencordDesktop_*.deb -y
|
||||||
elif command_exists "yum"; then
|
elif command_exists "yum"; then
|
||||||
curl $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "VencordDesktop-.*.x86_64.rpm" | head --lines 1 | cut -d : -f 2,3 | tr -d \") -LO
|
curl -LO $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "browser_download_url.*VencordDesktop-.*.x86_64.rpm" | head --lines 1 | cut -d : -f 2,3 | tr -d \")
|
||||||
sudo apt install ./VencordDesktop*.rpm -y
|
sudo dnf install ./VencordDesktop*.rpm -y
|
||||||
|
rm ./VencordDesktop*.rpm
|
||||||
elif command_exists "pacman"; then
|
elif command_exists "pacman"; then
|
||||||
yay -S vencord-desktop-bin --noconfirm --needed
|
yay -S vencord-desktop-bin --noconfirm --needed
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue