diskimage-builder/elements/zypper/post-install.d/99-zypper-no-keep-packages

11 lines
189 B
Text
Raw Normal View History

#!/bin/bash
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
set -x
fi
set -eu
set -o pipefail
# Disable caching packages for all repositories
sudo zypper modifyrepo --all --no-keep-packages