On Sat, Feb 16, 2013 at 10:33:09AM -0500, Bruce Momjian wrote:
> On Sat, Feb 16, 2013 at 09:44:22AM +0100, Christoph Berg wrote:
> > Re: Bruce Momjian 2013-02-16 <20130216013854.GD12029@momjian.us>
> > > I don't think "codename" is really good wording here:
> >
> > That's the official Debian/Ubuntu term, though we can certainly use
> > something else if it makes things easier for users.
>
> OK. How do people find their codename?
OK, I found the answer:
$ lsb_release --short --codename
squeeze
> > > Edit the file /etc/apt/sources.list.d/pgdg.list, and add a line for the
> > > repository, substituting the proper "codename" for your release deb
> > >
> > > http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main
I suggest we use:
http://apt.postgresql.org/pub/repos/apt/ `lsb_release --short --codename`-pgdg main
That way, it auto-detects the codename. This works on Debian and Ubuntu.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +