install script modification

Discussions about new features or changes in existing features

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

install script modification

Postby ramindia » Thu May 17, 2007 7:26 am

Hi Matt

when we installing from scratch installation
when we do perl install.pl

we get following error

mkdir: cannot create directory `/var/spool/asterisk/monitor': File exists

I belive asterisk creates this directory automatically, when we do asterisk installation.

so we need to remove creating this directory from install script

if you feel its valueble suggestion, kindly update in next version or in SVN

if not kindly advice.

ram
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby mflorell » Thu May 17, 2007 11:23 am

It is not a fatal error, but I probably should add a check to see whether directories exist before trying to create them.

Thanks for the note.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Features

Who is online

Users browsing this forum: No registered users and 148 guests