diff options
author | Felix Yan <felixonmars@archlinux.org> | 2015-11-17 05:47:20 +0300 |
---|---|---|
committer | Felix Yan <felixonmars@archlinux.org> | 2015-11-17 05:47:20 +0300 |
commit | 1bba382c05aa988ad7eb48981ac5e2e14dd3e171 (patch) | |
tree | 493f068ab6d5bb8aaa9fc3c5bb0c9ecf91635e9b /letsencrypt-auto | |
parent | d6b4e73d9d8a674d70d832b99b9196c0ba53a9a1 (diff) |
letsencrypt-auto: Add instructions to use pacman on Arch
Diffstat (limited to 'letsencrypt-auto')
-rwxr-xr-x | letsencrypt-auto | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/letsencrypt-auto b/letsencrypt-auto index a3009fe52..64af92ebe 100755 --- a/letsencrypt-auto +++ b/letsencrypt-auto @@ -126,8 +126,17 @@ then echo "Bootstrapping dependencies for openSUSE-based OSes..." $SUDO $BOOTSTRAP/_suse_common.sh elif [ -f /etc/arch-release ] ; then - echo "Bootstrapping dependencies for Archlinux..." - $SUDO $BOOTSTRAP/archlinux.sh + if [ "$DEBUG" = 1 ] ; then + echo "Bootstrapping dependencies for Archlinux..." + $SUDO $BOOTSTRAP/archlinux.sh + else + echo "Please use pacman to install letsencrypt packages:" + echo "# pacman -S letsencrypt letsencrypt-nginx letsencrypt-apache letshelp-letsencrypt" + echo + echo "If you would like to use the virtualenv way, please run the script again with the" + echo "--debug flag." + exit 1 + fi elif [ -f /etc/manjaro-release ] ; then ExperimentalBootstrap "Manjaro Linux" manjaro.sh "$SUDO" elif [ -f /etc/gentoo-release ] ; then |