corrected condition, removed debian plugin dependency

This commit is contained in:
Martin Miklós 2013-08-16 21:24:13 +02:00
commit 47e5c1b2e5

View file

@ -1,7 +1,7 @@
: ${NGINX_DIR:=/etc/nginx}
: ${NGINX_VHOST_TEMPLATE:=$ZSH/plugins/nginx/templates/symfony2}
if [ $use_sudo -eq 1 ]; then
if [[ -e $( which -p sudo 2>&1 ) ]]; then
sudo="sudo"
else
sudo=""