preupdate: remove unused repos
postupdate: code cleanup