[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packaging something with a PostgreSQL database.



On Sat, Dec 29, 2001 at 04:01:40PM +0100, Tollef Fog Heen wrote:

> * Gaetano Paolone 
> | #DEBHELPER#
> | ******************  end postinst  *******************
> | 
> | ******************  begin makedb.sh  *******************
> | #!/bin/bash
> | #set -e
> | export SHAREDIR=/usr/share/odontolinux
> | export TMPDIR=/var/tmp/odontolinux
> | export PATH=$PATH:/usr/lib/postgresql/bin
> | 
> | mkdir -p $TMPDIR
> 
> mkdir -p $TMPDIR || exit 1, I presume?

Or, uncomment "set -e" and guard whichever commands (presumably few) should
be allowed to fail.

-- 
 - mdz



Reply to: