Add *.update-* obsolete configs to dpkg plugin

This commit is contained in:
2023-04-10 15:40:14 -04:00
parent 6115897d7a
commit cb62d97c1f
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[@]}