aboutsummaryrefslogtreecommitdiff
path: root/utils/arch
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-12-28 16:37:18 +0100
committerKarel Kočí <cynerd@email.cz>2016-12-28 16:37:18 +0100
commit64e557a8b97c4975c25cf5bd12fa3bb51fb38756 (patch)
tree23ce66a37d3964f271dda29811b3791b084dcc60 /utils/arch
parentf2f8cf509625c427b07bf52f749df9e1aef45799 (diff)
downloadmyconfigs-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/arch5
1 files changed, 3 insertions, 2 deletions
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"
}