diff --git a/update-mirrors b/update-mirrors index e1f2df4..0f42b01 100755 --- a/update-mirrors +++ b/update-mirrors @@ -52,3 +52,8 @@ fi # Download, ready, output curl -s "$(make-url)" | sed 's/^#\([^#].*\)/\1/' > "$dest" echo "Saved in ${dest}" + +if [[ -f "${dest}.pacnew" ]]; then + rm "${dest}.pacnew" + echo "Removed ${dest}.pacnew" +fi