From 89ee08940d7ca3937134f108c7a6514d771eb077 Mon Sep 17 00:00:00 2001 From: afonsofrancof Date: Thu, 12 Jan 2023 20:12:56 +0000 Subject: [PATCH] Changed pacman.conf vars --- config_changes.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 config_changes.sh diff --git a/config_changes.sh b/config_changes.sh new file mode 100755 index 0000000..fc77cdf --- /dev/null +++ b/config_changes.sh @@ -0,0 +1,13 @@ +pacman_vars() { + #Activate and change number of parallel downloads to 200 + sed -i "s/^#ParallelDownloads =.*/ParallelDownloads = 200/" /etc/pacman.conf + #Enable color + sed -i "s/^#Color/Color/" /etc/pacman.conf + #Enable multilib repo + sed -i "/\[multilib\]/,/Include/"'s/^#//' /etc/pacman.conf +} + +init() { + pacman_vars +} +init