diff options
| author | Blake Romero <blake@developercraft.com> | 2026-04-01 03:57:40 +0100 |
|---|---|---|
| committer | Blake Romero <blake@developercraft.com> | 2026-04-01 03:57:40 +0100 |
| commit | fdb625815b354dfe7e4b920ce76fc14e5562ef4c (patch) | |
| tree | 61ac0f9b6781d7b219dc07dc65b14d88fb95fe3f | |
| parent | eb8b9e698890e43c6805e81b708ad7262f23fda5 (diff) | |
Simplify sed commands
| -rwxr-xr-x | install.sh | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -335,12 +335,10 @@ unlink /mnt/etc/dinit.d/boot.d/dhcpcd # Set MAKEFLAGS to match CPU threads for faster compiling cp /etc/makepkg.conf /etc/makepkg.conf.bak -sed "s/#MAKEFLAGS=\".*\"/MAKEFLAGS=\"-j$(nproc)\"/" \ - -i /mnt/etc/makepkg.conf +sed "s/#MAKEFLAGS=\".*\"/MAKEFLAGS=\"-j$(nproc)\"/" -i /mnt/etc/makepkg.conf # Configure mkinitcpio.conf -modules="btrfs" -sed "s/^MODULES=(.*)/MODULES=(${modules})/" -i /mnt/etc/mkinitcpio.conf +sed "s/^MODULES=(.*)/MODULES=(btrfs)/" -i /mnt/etc/mkinitcpio.conf if [[ "${encrypt}" == true ]]; then hooks="base udev autodetect modconf kms keyboard keymap block encrypt resume filesystems fsck" |
