Re: [HACKERS] help with rpm script

2003-07-02 Thread Lamar Owen
On Wednesday 02 July 2003 01:20, Craig Jensen wrote: > I need to have the rpm when installed create a database and a user with > privilege to that database. These are the command functions I need to > execute within the rpm... > # service postgresql start > # su postgres > # createdb account > # p

[HACKERS] help with rpm script

2003-07-02 Thread Craig Jensen
Hello, I am building an rpm for Mitle SME (a scaled down redhat 7.3) and have all functions working except: I need to have the rpm when installed create a database and a user with privilege to that database. These are the command functions I need to execute within the rpm... # service postgres