Update for fedora atomic

This commit is contained in:
askiiart 2024-07-10 13:21:06 -05:00
parent 46cdfbe486
commit f95c122e70
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30
8 changed files with 72 additions and 9 deletions

View file

@ -1,5 +1,4 @@
#!/usr/bin/env bash
EDITOR=nano
if [ $(whoami) == "root" ]; then
echo "Run as a normal user, not root"
@ -20,6 +19,17 @@ elif command_exists "dnf"; then
cd ~
git clone https://git.askiiart.net/askiiart/gpg-email-helper
cd -
elif command_exists "rpm-ostree"; then
if ! command_exists "spamassassin"; then
rpm-ostree install spamassassin claws-mail claws-mail-plugins-pgp claws-mail-plugins-spamassassin claws-mail-plugins-rssyl
read -p "Press enter to reboot, then run do-everything.bash again"
reboot
else
sudo systemctl enable --now spamassassin.service
cd ~
git clone https://git.askiiart.net/askiiart/gpg-email-helper
cd -
fi
elif command_exists "xbps-install"; then
sudo xbps-install claws-mail spamassassin
ln -s /etc/sv/spamd /var/service/

View file

@ -12,6 +12,10 @@ if command_exists "apt-get"; then
sudo apt-get install fish -y
elif command_exists "yum"; then
sudo yum install fish -y
elif command_exists "rpm-ostree" && ! command_exists "fish"; then
rpm-ostree install fish -y
read -p "Press enter to reboot, then run do-everything.bash again"
reboot
elif command_exists "pacman"; then
sudo pacman -S fish
elif command_exists "zypp"; then

View file

@ -1,5 +1,4 @@
#!/usr/bin/env bash
set -e
if [ $(whoami) == "root" ]; then
echo "Run as a normal user, not root"
exit 1
@ -32,6 +31,33 @@ elif command_exists "dnf"; then
rm -rf ./tmp-openh264/
echo -e "\nNow open LibreWolf, go to about:config, and set these to true:\n media.gmp-gmpopenh264.autoupdate\n media.gmp-gmpopenh264.enabled\n media.gmp-gmpopenh264.provider.enabled\n media.peerconnection.video.h264_enabled\n"
read -p ""
elif command_exists "rpm-ostree"; then
if ! command_exists "librewolf"; then
sudo wget https://rpm.librewolf.net/librewolf-repo.repo -O /etc/yum.repos.d/librewolf.repo
rpm-ostree install librewolf
rpm-ostree remove firefox
read -p "Press enter to reboot, then run do-everything.bash again"
reboot
else
librewolf &
sleep 5
pkill librewolf
mkdir tmp-openh264
cd tmp-openh264
wget http://ciscobinary.openh264.org/openh264-linux64-v1.1-Firefox33.zip
rpm-ostree install unzip -y
rpm-ostree apply-live
unzip ./*.zip
for dir in $(ls -d ~/.librewolf/*/); do
mkdir -p ${dir}gmp-gmpopenh264/1.1/
cp libgmpopenh264.so ${dir}gmp-gmpopenh264/1.1/
cp gmpopenh264.info ${dir}gmp-gmpopenh264/1.1/
done
cd -
rm -rf ./tmp-openh264/
echo -e "\nNow open LibreWolf, go to about:config, and set these to true:\n media.gmp-gmpopenh264.autoupdate\n media.gmp-gmpopenh264.enabled\n media.gmp-gmpopenh264.provider.enabled\n media.peerconnection.video.h264_enabled\n"
read -p ""
fi
elif command_exists "yay"; then
yay -S librewolf-bin
yay -R firefox

View file

@ -19,6 +19,14 @@ elif command_exists "dnf"; then
# Install Prism Launcher
sudo dnf copr enable g3tchoo/prismlauncher
sudo dnf install prismlauncher-qt5
elif command_exists "rpm-ostree"; then
rpm-ostree install kitty neovim gcc gnome-hexgl drawing make vlc freeglut ncdu gcolor3 rustup clippy p7zip mosh krita podman podman-docker podman-compose gajim progress yt-dlp genisoimage zstd iperf3 -y --allow-inactive
# Install Prism Launcher
sudo wget https://copr.fedorainfracloud.org/coprs/g3tchoo/prismlauncher/repo/fedora-$(rpm -E %fedora)/g3tchoo-prismlauncher-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/g3tchoo-prismlauncher.repo
rpm-ostree install prismlauncher-qt5
flatpak install me.iepure.devtoolbox
elif command_exists "yay"; then
yay -S kitty neovim gcc vlc ncdu gcolor3 rustup p7zip mosh krita podman podman-compose gajim progress yt-dlp genisoimage drawing clippy gnome-hexgl zstd iperf3 unzip schildichat-desktop-bin digikam man-db prismlauncher-qt5-bin progress --noconfirm --needed
elif command_exists "zypp"; then