cleanup paralleldownloads regex

because the pattern ends with ".*" using "$" is pointless
This commit is contained in:
i-c-u-p 2022-04-27 09:13:19 +00:00
parent 165a2c03f6
commit dd065fb340
No known key found for this signature in database
GPG key ID: ABB80C12170FC0D1

View file

@ -430,7 +430,7 @@ EOF
# Pacman eye-candy features. # Pacman eye-candy features.
print "Enabling colours, animations, and parallel in pacman." print "Enabling colours, animations, and parallel in pacman."
sed -i 's/#Color/Color\nILoveCandy/;s/^#ParallelDownloads.*$/ParallelDownloads = 10/' /mnt/etc/pacman.conf sed -i 's/#Color/Color\nILoveCandy/;s/^#ParallelDownloads.*/ParallelDownloads = 10/' /mnt/etc/pacman.conf
# Enabling various services. # Enabling various services.
print "Enabling Reflector, automatic snapshots, BTRFS scrubbing and systemd-oomd." print "Enabling Reflector, automatic snapshots, BTRFS scrubbing and systemd-oomd."