reddit/reddit — pull request #751 by clexmond (2013-04-26 01:27:29+00:00)
Title: Fix a couple of nagging issues with the install script

When aptitude wasn't updated the script would fail trying to find dependencies for the one apt-get install call prior to the existing apt-get update. I added an additional one prior. I've also added a check to make sure the encoding is UTF-8, otherwise postgres fails to create the database.