aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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