diskimage-builder/elements/package-installs/install.d/99-package-uninstalls

11 lines
206 B
Plaintext
Raw Normal View History

#!/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 install.d --uninstall /tmp/package-installs.json