Simplify post_upgrade_command logic and obsolete /usr/local/sbin/cvs_sync.sh instead of removing it on post_upgrade_command
Process obsolete files in shell script instead of php
Remove extra ; and space