General fixes for when interactive user isn't defined.
Only uninstall logrotate if it's not compatible with official Postgres packages.
Change CRAN mirror URL format.
Add README and LICENSE.