Add *.update-* obsolete configs to dpkg plugin

This commit is contained in:
2023-09-01 15:42:29 -04:00
parent a490924e3a
commit 679e15c484
2 changed files with 2 additions and 2 deletions

View File

@ -16,5 +16,5 @@ apt autoremove --purge -y
apt clean
# Phase 4 - find and remove obsolete config files
OLD_FILES_LIST=( $( find /etc -type f -a \( -name '*.dpkg-*' -o -name '*.ucf-*' \) 2>/dev/null ) )
OLD_FILES_LIST=( $( find /etc -type f -a \( -name '*.dpkg-*' -o -name '*.ucf-*' -o -name '*.update-*' \) 2>/dev/null ) )
rm -f ${OLD_FILES_LIST[@]}