aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/arch23
-rwxr-xr-xutils/install_pacaur35
2 files changed, 0 insertions, 58 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"
-}
diff --git a/utils/install_pacaur b/utils/install_pacaur
deleted file mode 100755
index 0cabd46..0000000
--- a/utils/install_pacaur
+++ /dev/null
@@ -1,35 +0,0 @@
-# vim: ft=sh
-
-# Installs pacaur
-# This expect base and base-devel to be installed
-set -e
-
-if pacaur --version 2>&1 1>/dev/null; then
- echo "Pacaur seems to be installed already"
- exit 0
-fi
-
-# Make sure that we have wget
-sudo pacman --needed -S wget
-# Download pacaur tar
-wget https://aur.archlinux.org/cgit/aur.git/snapshot/pacaur.tar.gz
-# Download cower (pacaur dependency)
-wget https://aur.archlinux.org/cgit/aur.git/snapshot/cower.tar.gz
-
-# Receive cower gpg key
-gpg --keyserver pgp.mit.edu --recv-keys 1EB2638FF56C0C53
-
-# Install cower
-tar -xzf cower.tar.gz
-cd cower
-makepkg -Acis
-cd ..
-rm -rf cower cower.tar.gz
-# Install pacaur
-tar -xzf pacaur.tar.gz
-cd pacaur
-makepkg -Acis
-cd ..
-rm -rf pacaur pacaur.tar.gz
-# Set cower to be just an dependency
-pacman -D --asdeps cower