aboutsummaryrefslogtreecommitdiff
path: root/utils
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
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')
-rw-r--r--utils/arch5
-rwxr-xr-xutils/install_pacaur2
2 files changed, 5 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"
}
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