Update fedora stuff

This commit is contained in:
askiiart 2023-12-06 21:47:27 -06:00
parent a14e863b2e
commit b6f920878c
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
6 changed files with 12 additions and 8 deletions

View file

@ -10,8 +10,9 @@ command_exists() { type "$1" &>/dev/null; }
if command_exists "apt-get"; then
sudo apt update
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 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
elif command_exists "pacman"; then
WD=$(pwd)

@ -1 +1 @@
Subproject commit 4139aa43087459afa073b79ff104e0f8e0b2f681
Subproject commit f2df8532350274f1eb9304d5e181938026bb3116

View file

@ -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
sudo apt update
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 install librewolf
elif command_exists "pacman"; then

View file

@ -14,8 +14,10 @@ if command_exists "apt-get"; then
sudo apt-get install kitty -y
echo "Please install SchildiChat, nvim/neovim"
elif command_exists "yum"; then
sudo yum install kitty -y
echo "Please install SchildiChat, nvim/neovim"
sudo yum install kitty neovim -y
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
yay -S kitty schildichat-desktop-bin digikam eog man-db neovim --noconfirm --needed
elif command_exists "zypp"; then

View file

@ -11,7 +11,7 @@ command_exists() { type "$1" &>/dev/null; }
if command_exists "apt-get"; then
curl -LO https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb
sudo dpkg -i steam.deb
elif command_exists "yum"; then
elif command_exists "dnf"; then
sudo dnf install steam -y
elif command_exists "yay"; then
#printf '[multilib]\nInclude = /etc/pacman.d/mirrorlist\n'

View file

@ -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
sudo apt-get install ./VencordDesktop_*.deb -y
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
sudo apt install ./VencordDesktop*.rpm -y
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 dnf install ./VencordDesktop*.rpm -y
rm ./VencordDesktop*.rpm
elif command_exists "pacman"; then
yay -S vencord-desktop-bin --noconfirm --needed
else