diskimage-builder/elements/package-installs/post-install.d/00-package-installs
Gregory Haynes 40799839e0 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
2015-12-20 00:03:51 +00:00

11 lines
197 B
Bash
Executable File

#!/bin/bash
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
set -x
fi
set -eu
set -o pipefail
package-installs -d $(dirname $0)
package-installs-v2 --phase post-install.d /tmp/package-installs.json