mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 11:30:55 +00:00
shorten sed for adding ILoveCandy
sed's "a" command can be used for this (ty LARBS :P)
This commit is contained in:
parent
dd065fb340
commit
c990c0f9a0
1 changed files with 1 additions and 1 deletions
|
|
@ -430,7 +430,7 @@ EOF
|
|||
|
||||
# Pacman eye-candy features.
|
||||
print "Enabling colours, animations, and parallel in pacman."
|
||||
sed -i 's/#Color/Color\nILoveCandy/;s/^#ParallelDownloads.*/ParallelDownloads = 10/' /mnt/etc/pacman.conf
|
||||
sed -i '/#Color/a ILoveCandy;s/^#ParallelDownloads.*/ParallelDownloads = 10/' /mnt/etc/pacman.conf
|
||||
|
||||
# Enabling various services.
|
||||
print "Enabling Reflector, automatic snapshots, BTRFS scrubbing and systemd-oomd."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue