[opensuse-buildservice] building a database during an rpm install
Hello, Total newbie here, is it possible to configure postgres during install? James --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sun, Jan 07, 2007 at 11:23:23PM -0500, James Tremblay wrote:
Hello, Total newbie here, is it possible to configure postgres during install?
Sure it is. You can run whatever shell commands you like in the postinstall script. It is just a bit more critical if you run rpm commands themselves there. But the system does not really care what you are doing to your database system. Robert -- Robert Schiele Dipl.-Wirtsch.informatiker mailto:rschiele@gmail.com "Quidquid latine dictum sit, altum sonatur."
On Mon, 2007-01-08 at 19:57 +0100, Robert Schiele wrote:
On Sun, Jan 07, 2007 at 11:23:23PM -0500, James Tremblay wrote:
Hello, Total newbie here, is it possible to configure postgres during install?
Sure it is. You can run whatever shell commands you like in the postinstall script. It is just a bit more critical if you run rpm commands themselves there. But the system does not really care what you are doing to your database system.
Robert
Very cool thank you, got any example scripts? JT --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Mon, Jan 08, 2007 at 06:56:20PM -0500, James Tremblay wrote:
Very cool thank you, got any example scripts?
Example for what? A postinstall script? Just add to your spec files a line %post followed by the desired shell commands. I recommend reading the RPM documentation because this is really quite a simple thing covered there. Robert -- Robert Schiele Dipl.-Wirtsch.informatiker mailto:rschiele@gmail.com "Quidquid latine dictum sit, altum sonatur."
participants (2)
-
James Tremblay
-
Robert Schiele