On Mon, Feb 04, 2008 at 01:21:44PM +1300, Mark Robinson wrote:
> Package: php5-mapscript
> Version: 5.0.2-1
> Severity: normal
> 
> 
> > Setting up php5-mapscript (5.0.2-1) ...
> > /var/lib/dpkg/info/php5-mapscript.postinst: line 20: -f: command not found
> 
> Perhaps
> 
> > if [ "$RET" = "true" ] && ! -f /etc/$phpver/$SAPI/conf.d/mapscript.ini
> > then
> 
> should read
> 
> > if [ "$RET" = "true" ] && ! [-f /etc/$phpver/$SAPI/conf.d/mapscript.ini]; 
> > then
> 
> But I am no flash script0r.
> 

Uhm

if [ "$RET" = "true" -a ! -f /etc/$phpver/$SAPI/conf.d/mapscript.ini ]; then

is a correct test expression.

-- 
Francesco P. Lovergine



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to