rpm-ostree1.sh 954 B

12345678910111213141516171819
  1. #!/bin/sh
  2. # "<--Block HTTP:80-->"
  3. # sudo firewall-cmd --permanent --direct --add-rule ipv4 filter OUTPUT 0 -p tcp -m tcp --dport 80 -j REJECT
  4. # sudo firewall-cmd --permanent --direct --add-rule ipv6 filter OUTPUT 0 -p tcp -m tcp --dport 80 -j REJECT
  5. # sudo firewall-cmd --reload
  6. flatpak remove org.gnome.Maps org.gnome.Contacts org.gnome.Weather
  7. sudo rpm-ostree override remove firefox
  8. sudo rpm-ostree install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
  9. sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  10. sudo wget https://copr.fedorainfracloud.org/coprs/chenxiaolong/ubuntu-fonts/repo/fedora-35/chenxiaolong-ubuntu-fonts-fedora-35.repo -O /etc/yum.repos.d/chenxiaolong-ubuntu-fonts.repo -O /etc/yum.repos.d/chenxiaolong-ubuntu-fonts.repo
  11. curl -LO https://raw.githubusercontent.com/dylanaraps/pfetch/master/pfetch
  12. sudo rpm-ostree upgrade && flatpak update