You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

InstallDependencies 494B

123456789101112131415
  1. #!/bin/bash
  2. unamestr=`uname`
  3. if [[ "$unamestr" == 'Linux' ]]; then
  4. if [[ -e /etc/fedora-release ]]; then
  5. echo -e 'openvibe\nopenvibe\n' | sudo passwd
  6. echo -e 'spawn ./linux-install_dependencies\n expect "assword:"\n send "openvibe\n"\n expect -timeout 3600 "done."\n expect -timeout 7200 "Install linux dependencies done"\n' | expect
  7. else
  8. ./linux-install_dependencies
  9. fi;
  10. else
  11. #cygwin
  12. chmod +x ./win32-install_dependencies.exe
  13. ./win32-install_dependencies.exe /S
  14. fi