diskimage-builder/elements/package-installs/pre-install.d/99-package-uninstalls
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
210 B
Bash
Executable File

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