aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-04-16 01:04:40 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-04-16 01:04:40 -0400
commit5a0f4811da77d09e1b6fd1b99248ff3e2aa60433 (patch)
treea218332b51d54afa5617655328628fb2fcd31db8
parent7063ee38724c055fc0c6f76eedf492d85468ada4 (diff)
build.sh removes comments from packages and services
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 3568fb9..6a7960c 100755
--- a/build.sh
+++ b/build.sh
@@ -2,9 +2,9 @@
if [ ! -e work/pacman ]; then
mkdir work
touch work/pacman
- yes | pacman -Syu --needed $(cat packages | xargs echo)
+ yes | pacman -Syu --needed $(sed 's:#.*$::' packages | xargs echo)
fi
-cat services | xargs systemctl enable
+sed 's:#.*$::' services | xargs systemctl enable
ip link
export USE=czar