diskimage-builder/diskimage_builder/elements/zypper/pre-install.d/01-zypper-keep-packages

11 lines
180 B
Plaintext
Raw Normal View History

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