From 5a0f4811da77d09e1b6fd1b99248ff3e2aa60433 Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Thu, 16 Apr 2020 01:04:40 -0400
Subject: build.sh removes comments from packages and services
---
build.sh | 4 ++--
1 file 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
--
cgit