From 3a210d87203c4bfe16786d81ff946d4354223b26 Mon Sep 17 00:00:00 2001 From: Tommy Date: Fri, 10 May 2024 15:13:18 -0700 Subject: [PATCH] Fix divest repo Signed-off-by: Tommy --- fedora/fedora-gnome.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fedora/fedora-gnome.sh b/fedora/fedora-gnome.sh index f2180bd..50f1601 100644 --- a/fedora/fedora-gnome.sh +++ b/fedora/fedora-gnome.sh @@ -128,9 +128,11 @@ sudo dnf -y install qubes-ctap qubes-gpg-split adw-gtk3-theme gnome-console gnom # Setup hardened_malloc sudo dnf -y install 'https://divested.dev/rpm/fedora/divested-release-20231210-2.noarch.rpm' sudo dnf config-manager --save --setopt=divested.includepkgs=divested-release,real-ucode,microcode_ctl,amd-ucode-firmware,hardened_malloc +sudo sed -i 's/^metalink=.*/&?protocol=https/g' /etc/yum.repos.d/divested-release.repo sudo dnf -y install hardened_malloc echo 'libhardened_malloc.so' | sudo tee /etc/ld.so.preload # Setup DNF unpriv curl --proxy http://127.0.0.1:8082 https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dnf/dnf.conf | sudo tee /etc/dnf/dnf.conf -sudo sed -i 's/^metalink=.*/&\&protocol=https/g' /etc/yum.repos.d/* \ No newline at end of file +sudo sed -i 's/^metalink=.*/&\&protocol=https/g' /etc/yum.repos.d/* +sudo sed -i 's/&protocol=https//g' /etc/yum.repos.d/divested-release.repo \ No newline at end of file