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

11 lines
211 B
Text
Raw Normal View History

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