downgrade warning of non-existing files to info

to avoid all users by default getting a warning for expected non-existing files
This commit is contained in:
Patrick Schleizer 2024-07-24 11:13:35 -04:00
parent 721392901b
commit c9fd2ceb61
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -618,7 +618,7 @@ spare() {
# shellcheck disable=SC2086
chmod ${verbose} "${mode}" "${file_name}" || exit_code=203
else
log warn "File does not exist: ${file_name}"
log info "File does not exist: ${file_name}"
fi
dpkg-statoverride --remove "${file_name}" &>/dev/null || true