aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-12-01 22:56:39 +0100
committerKarel Kočí <cynerd@email.cz>2016-12-01 22:56:39 +0100
commit30da82b601b079340e2580cd0685e27c346d2e87 (patch)
treee9c8b4a343a54d32ded8cea4aaf4e405e41ce8d8 /utils
parentb49df3d46b729f621faf7a459933c84b7b3085b2 (diff)
downloadmyconfigs-30da82b601b079340e2580cd0685e27c346d2e87.tar.gz
myconfigs-30da82b601b079340e2580cd0685e27c346d2e87.tar.bz2
myconfigs-30da82b601b079340e2580cd0685e27c346d2e87.zip
Ensure that we are not reinstalling pacaur
Diffstat (limited to 'utils')
-rwxr-xr-x[-rw-r--r--]utils/install_pacaur5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/install_pacaur b/utils/install_pacaur
index 4c48357..1a1e9ee 100644..100755
--- a/utils/install_pacaur
+++ b/utils/install_pacaur
@@ -4,6 +4,11 @@
# 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 -S wget
# Download pacaur tar