Roundcube Community Forum

 

possibilty to skip question in bin/installto.sh

Started by wikrie, January 04, 2016, 05:15:59 AM

Previous topic - Next topic

wikrie

Hi everybody,

I'm using the installto.sh script to update all of my existing roundcube installations on my root server, so that process is working fine at all.
But if I would like to create a cronjob for it to check it monthly and update it in background, I do not see any change to skip the Question:


echo "Upgrading from $oldversion. Do you want to continue? (y/N)\n";
$input = trim(fgets(STDIN));


and because of it this I cannot run this as cronjpb at the moment?
I could create my own version of the installto.sh script yes indead, but I want to ask to force the question with Yes as an parameter, I would like to see something like

bin/install.sh /target/dir/of/my/roundcube -f=yes

for example.

best regards
wikrie
mfg /br

WiKrIe


wikrie

mfg /br

WiKrIe