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 +++-- utils/install_pacaur | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'utils') 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" } diff --git a/utils/install_pacaur b/utils/install_pacaur index 0add3b2..0cabd46 100755 --- a/utils/install_pacaur +++ b/utils/install_pacaur @@ -31,3 +31,5 @@ cd pacaur makepkg -Acis cd .. rm -rf pacaur pacaur.tar.gz +# Set cower to be just an dependency +pacman -D --asdeps cower -- cgit v1.2.3