LukeSmithxyz / LARBS

Luke's Auto-Rice Bootstrapping Scripts: Installation Scripts for My Arch Linux Meta-Distribution
GNU General Public License v3.0
2.03k stars 797 forks source link

cleanup sed commands for pacman paralleldownloads, colors #441

Closed i-c-u-p closed 2 years ago

i-c-u-p commented 2 years ago

because the pattern ends with .* the $ is useless. also made the sed for uncommenting "Colors" slightly shorter by using /<pattern>$/s/^#// instead of s/^#<pattern>$/<pattern>/

EDIT: This commit's sed expression for uncommenting MAKEFLAGS uncomments all lines containing "MAKEFLAGS" instead of only lines starting with "#MAKEFLAGS". Either use the previous expression or the fixed version in #444