aboutsummaryrefslogtreecommitdiff
path: root/utils/arch
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-10-22 22:18:02 +0200
committerKarel Kočí <cynerd@email.cz>2017-10-22 22:18:02 +0200
commitb5d63999c82eb89c0bd671c2ae04b936b6ec714d (patch)
tree4f5a11ea1f35393a95d918f5f5812414e47353ab /utils/arch
parent97ccd8d036996684d1ba6acf56bda61c7e184090 (diff)
parent8cf55e56aeb59c076c26e3bd4636bbf82bb1eeb5 (diff)
downloadmyconfigs-b5d63999c82eb89c0bd671c2ae04b936b6ec714d.tar.gz
myconfigs-b5d63999c82eb89c0bd671c2ae04b936b6ec714d.tar.bz2
myconfigs-b5d63999c82eb89c0bd671c2ae04b936b6ec714d.zip
Merge branch 'master' into server
Diffstat (limited to 'utils/arch')
-rw-r--r--utils/arch23
1 files changed, 0 insertions, 23 deletions
diff --git a/utils/arch b/utils/arch
deleted file mode 100644
index ccf1133..0000000
--- a/utils/arch
+++ /dev/null
@@ -1,23 +0,0 @@
-# Archlinux system installation and compare
-# vim: ft=sh
-
-archlinux_inst() {
- # Check if we are on archlinux
- if ! [ -e /etc/arch-release ]; then
- echo Archlinux not detected! >&2
- return
- fi
- # Now check for pacaur and optionally install
- if ! pacaur --version 2>&1 >/dev/null; then
- echo Please install pacaur! >&2
- return
- fi
-
- TFILE1=$(mktemp myconfigs-pacaur1-XXXXX)
- m4 archlinux.pkgs -I archlinux.pkgs.d | grep -E '^[^ ]+$' | sort | uniq > "$TFILE1"
- TFILE2=$(mktemp myconfigs-pacaur2-XXXXX)
- pacaur -Qqe | sort > "$TFILE2"
- echo " Required Local"
- diff --suppress-common-lines -ay "$TFILE1" "$TFILE2"
- rm "$TFILE1" "$TFILE2"
-}