Commit 3a6c523c authored by anarcat's avatar anarcat
Browse files

keep supporting DEBUG

keep supporting the DEBUG flag, it is now deprecated, and DPKG_DEBUG is
still supported.
parent dc835f1e
......@@ -5,7 +5,7 @@ set -e
# Source debconf library.
. /usr/share/debconf/confmodule
if [ "$DPKG_DEBUG" = "developer" ]; then
if [ "$DPKG_DEBUG" = "developer" ] || [ ! -z "$DEBUG" ]; then
set -x
fi
......
......@@ -20,7 +20,7 @@ set -e
# Source debconf library.
. /usr/share/debconf/confmodule
if [ "$DPKG_DEBUG" = "developer" ]; then
if [ "$DPKG_DEBUG" = "developer" ] || [ ! -z "$DEBUG" ]; then
set -x
fi
......@@ -34,7 +34,7 @@ case "$1" in
VERSION=`sed -n '/^version/{s/^.*= *//;p}' /usr/share/drush/commands/provision/provision.info`
FLAGS="--yes"
if [ "$DPKG_DEBUG" = "developer" ]; then
if [ "$DPKG_DEBUG" = "developer" ] || [ ! -z "$DEBUG" ]; then
FLAGS="$FLAGS --debug"
fi
db_get "aegir/makefile"
......
......@@ -20,7 +20,7 @@ set -e
# Source debconf library.
. /usr/share/debconf/confmodule
if [ "$DPKG_DEBUG" = "developer" ]; then
if [ "$DPKG_DEBUG" = "developer" ] || [ ! -z "$DEBUG" ]; then
set -x
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment