From 64e557a8b97c4975c25cf5bd12fa3bb51fb38756 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 28 Dec 2016 16:37:18 +0100 Subject: Rewrite arch packages little bit List of expected packages is now generated using m4 language. --- utils/arch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'utils/arch') diff --git a/utils/arch b/utils/arch index 5a1ed19..ccf1133 100644 --- a/utils/arch +++ b/utils/arch @@ -14,9 +14,10 @@ archlinux_inst() { fi TFILE1=$(mktemp myconfigs-pacaur1-XXXXX) - grep -E '^[^# ]+$' archlinux.pkgs | sort > "$TFILE1" + m4 archlinux.pkgs -I archlinux.pkgs.d | grep -E '^[^ ]+$' | sort | uniq > "$TFILE1" TFILE2=$(mktemp myconfigs-pacaur2-XXXXX) - pacaur -Qqet | sort > "$TFILE2" + pacaur -Qqe | sort > "$TFILE2" + echo " Required Local" diff --suppress-common-lines -ay "$TFILE1" "$TFILE2" rm "$TFILE1" "$TFILE2" } -- cgit v1.2.3