From 40799839e07fb6a0bbb9b2af4c837f17cbe3c8f1 Mon Sep 17 00:00:00 2001 From: Gregory Haynes Date: Sun, 20 Dec 2015 00:03:51 +0000 Subject: [PATCH] Package installs defaults to tracing off There isn't a good reason we should be defaulting to trace on for these scripts. Change-Id: I1b9ac9388f51a49e6912d800914a0e0f2faec604 --- elements/package-installs/install.d/01-package-installs | 2 +- elements/package-installs/install.d/99-package-uninstalls | 2 +- elements/package-installs/post-install.d/00-package-installs | 2 +- elements/package-installs/post-install.d/99-package-uninstalls | 2 +- elements/package-installs/pre-install.d/02-package-installs | 2 +- elements/package-installs/pre-install.d/99-package-uninstalls | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/elements/package-installs/install.d/01-package-installs b/elements/package-installs/install.d/01-package-installs index e64cbc71..4404e29a 100755 --- a/elements/package-installs/install.d/01-package-installs +++ b/elements/package-installs/install.d/01-package-installs @@ -1,6 +1,6 @@ #!/bin/bash -if [ ${DIB_DEBUG_TRACE:-1} -gt 0 ]; then +if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then set -x fi set -eu diff --git a/elements/package-installs/install.d/99-package-uninstalls b/elements/package-installs/install.d/99-package-uninstalls index 9f2d7a6f..073594ae 100755 --- a/elements/package-installs/install.d/99-package-uninstalls +++ b/elements/package-installs/install.d/99-package-uninstalls @@ -1,6 +1,6 @@ #!/bin/bash -if [ ${DIB_DEBUG_TRACE:-1} -gt 0 ]; then +if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then set -x fi set -eu diff --git a/elements/package-installs/post-install.d/00-package-installs b/elements/package-installs/post-install.d/00-package-installs index 847e9765..0813bab9 100755 --- a/elements/package-installs/post-install.d/00-package-installs +++ b/elements/package-installs/post-install.d/00-package-installs @@ -1,6 +1,6 @@ #!/bin/bash -if [ ${DIB_DEBUG_TRACE:-1} -gt 0 ]; then +if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then set -x fi set -eu diff --git a/elements/package-installs/post-install.d/99-package-uninstalls b/elements/package-installs/post-install.d/99-package-uninstalls index e6123da3..647b0b94 100755 --- a/elements/package-installs/post-install.d/99-package-uninstalls +++ b/elements/package-installs/post-install.d/99-package-uninstalls @@ -1,6 +1,6 @@ #!/bin/bash -if [ ${DIB_DEBUG_TRACE:-1} -gt 0 ]; then +if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then set -x fi set -eu diff --git a/elements/package-installs/pre-install.d/02-package-installs b/elements/package-installs/pre-install.d/02-package-installs index 5865e552..a7a5d0b6 100755 --- a/elements/package-installs/pre-install.d/02-package-installs +++ b/elements/package-installs/pre-install.d/02-package-installs @@ -1,6 +1,6 @@ #!/bin/bash -if [ ${DIB_DEBUG_TRACE:-1} -gt 0 ]; then +if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then set -x fi set -eu diff --git a/elements/package-installs/pre-install.d/99-package-uninstalls b/elements/package-installs/pre-install.d/99-package-uninstalls index 849433e4..a81095eb 100755 --- a/elements/package-installs/pre-install.d/99-package-uninstalls +++ b/elements/package-installs/pre-install.d/99-package-uninstalls @@ -1,6 +1,6 @@ #!/bin/bash -if [ ${DIB_DEBUG_TRACE:-1} -gt 0 ]; then +if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then set -x fi set -eu