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

11 lines
211 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 post-install.d --uninstall /tmp/package-installs.json