I am trying to upgrade my Roundcube installation from version 1.0.4 to 1.0.5 and I cannot get the upgrade script working properly. According to Roundcube's upgrade documentation, the following command should upgrade Roundcube (Assuming the distro is Ubuntu 14.04):
$ cd roundcubemail-1.0.5 && sudo bash bin/installto.sh /var/www/html/roundcube
When I run the command, some junk gets printed to my Terminal and no upgrading occurs.
./bin/installto.sh: line 2: ?php: No such file or directory
./bin/installto.sh: line 3: /bin: Is a directory
./bin/installto.sh: line 4: +-----------------------------------------------------------------------+: command not found
./bin/installto.sh: line 5: syntax error near unexpected token `|'
./bin/installto.sh: line 5: ` | bin/installto.sh |'
Does anyone know what is wrong, what I am doing wrong or why this is not working? Thanks!