From 30da82b601b079340e2580cd0685e27c346d2e87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 1 Dec 2016 22:56:39 +0100 Subject: Ensure that we are not reinstalling pacaur --- utils/install_pacaur | 5 +++++ 1 file changed, 5 insertions(+) mode change 100644 => 100755 utils/install_pacaur (limited to 'utils/install_pacaur') diff --git a/utils/install_pacaur b/utils/install_pacaur old mode 100644 new mode 100755 index 4c48357..1a1e9ee --- 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 -- cgit v1.2.3