Update soup to rotate log file

This commit is contained in:
Doug Burks
2023-08-04 12:16:14 -04:00
committed by GitHub
parent 9fe9256a0f
commit 209da766ba

View File

@@ -972,6 +972,11 @@ while getopts ":b:f:y" opt; do
done done
shift $((OPTIND - 1)) shift $((OPTIND - 1))
if [ -f $SOUP_LOG ]; then
CURRENT_TIME=$(date +%Y%m%d.%H%M%S)
mv $SOUP_LOG $SOUP_LOG.$INSTALLEDVERSION.CURRENT_TIME
fi
if [[ -z $UNATTENDED ]]; then if [[ -z $UNATTENDED ]]; then
cat << EOF cat << EOF