PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
How to run post install script automatically ?

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> Documentation, Tutorials, How to's
View previous topic :: View next topic  
Author Message
yaromero



Joined: 23 Dec 2008
Posts: 2

PostPosted: Tue Dec 23, 2008 3:17 am    Post subject: How to run post install script automatically ? Reply with quote

Hello,

is any possibility how to run post install script, automaticaly?
I need automatical installation of Chiara_PEAR_Server, instalation is very pretty (thanks for depencies), but after install it i am ask for run post install script.
This action i need to do automatically, without human interaction.

Thanks a lot for advices.
Back to top
View user's profile Send private message
ashnazg



Joined: 27 Nov 2008
Posts: 8

PostPosted: Tue Dec 23, 2008 12:37 pm    Post subject: pear run-scripts Package_Name Reply with quote

Running the post-install scripts should just be a simple matter of running "pear run-scripts Package_Name", where Package_Name is the package you want the scripts run for... in your case, Chiara_PEAR_Server.
Back to top
View user's profile Send private message
yaromero



Joined: 23 Dec 2008
Posts: 2

PostPosted: Sat Dec 27, 2008 1:11 pm    Post subject: Reply with quote

yes, i know.

But how to run post install script with specific paramters and without human interaction?

At this moment i have to do following
1. i (generally human) must must: run pear run-scripts Package_Name
2. i (generally human) must: type answers for questions on system depending settings.

i'd like to prepare system settings before run post install script and then run post install script. post install script will grab settings and do post instalation process automatically.
Back to top
View user's profile Send private message
jeffdacosta



Joined: 06 May 2010
Posts: 3
Location: Costa Rica

PostPosted: Sat May 08, 2010 4:31 pm    Post subject: Reply with quote

http://algolog.tripod.com/postlnx.htm, here are a lot of information about, so check it and good luck.
_________________
Cuban Cigars | Cuban Cigar
Back to top
View user's profile Send private message
hobozilla



Joined: 05 Jul 2010
Posts: 1

PostPosted: Mon Jul 05, 2010 10:25 am    Post subject: Reply with quote

That link is dead, does anyone have the answer to this question... I'm guessing it can't be done but it would be nice to know for sure.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> Documentation, Tutorials, How to's All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement