diff options
author | Karel Kočí <cynerd@email.cz> | 2016-12-28 16:37:18 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2016-12-28 16:37:18 +0100 |
commit | 64e557a8b97c4975c25cf5bd12fa3bb51fb38756 (patch) | |
tree | 23ce66a37d3964f271dda29811b3791b084dcc60 /utils/arch | |
parent | f2f8cf509625c427b07bf52f749df9e1aef45799 (diff) | |
download | myconfigs-64e557a8b97c4975c25cf5bd12fa3bb51fb38756.tar.gz myconfigs-64e557a8b97c4975c25cf5bd12fa3bb51fb38756.tar.bz2 myconfigs-64e557a8b97c4975c25cf5bd12fa3bb51fb38756.zip |
Rewrite arch packages little bit
List of expected packages is now generated using m4 language.
Diffstat (limited to 'utils/arch')
-rw-r--r-- | utils/arch | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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" } |