MasterVitronic / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

Ubuntu easy install script tells user to watch for errors and then throws an error, on every first run of script #359

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Invoke `sudo ./install_fusionpbx.sh install-both user |tee 
/tmp/install_fusion.log` on Ubuntu 10.04 LTS, continue through prompts until 
Git section

What is the expected output? What do you see instead?
Expected not to see any errors from grep. See:

Press Enter to continue (check for errors)/bin/grep: 
/tmp/install_fusion_status: No such file or directory

What version of the product are you using? On what operating system?
Latest, Ubuntu 10.04 LTS

Please provide any additional information below.
#------------------------
# GIT FREESWITCH
#------------------------
/bin/grep 'git_done' /tmp/install_fusion_status > /dev/null

This grep is piped to /dev/null, but that doesn't take errors sent to STDOUT 
into account. Suggest either a STDOUT redirect for this command or a file 
existence check (failing it touches the file).

Original issue reported on code.google.com by mzxgiant@gmail.com on 28 Nov 2012 at 9:45

GoogleCodeExporter commented 9 years ago
fixed rev 3440,3441

Original comment by soape...@gmail.com on 30 Nov 2012 at 10:02

GoogleCodeExporter commented 9 years ago

Original comment by soape...@gmail.com on 30 Nov 2012 at 10:07