]> git.donarmstrong.com Git - roundcube.git/blobdiff - bin/installto.sh
New upstream version.
[roundcube.git] / bin / installto.sh
index 33652dcc720b6c22b15a8965a5a6c6de212c53b2..bcba57c7586422477d9959877ac7da4803e1d1ec 100755 (executable)
@@ -15,7 +15,7 @@
  | Author: Thomas Bruederli <roundcube@gmail.com>                        |
  +-----------------------------------------------------------------------+
 
- $Id: installto.sh 4677 2011-04-20 13:10:45Z alec $
+ $Id: installto.sh 5311 2011-10-06 08:20:11Z thomasb $
 
 */
 
@@ -45,13 +45,13 @@ if (strtolower($input) == 'y') {
   $err = false;
   echo "Copying files to target location...";
   foreach (array('program','installer','bin','SQL','plugins','skins/default') as $dir) {
-    if (!system("rsync -avuC " . INSTALL_PATH . "$dir/* $target_dir/$dir/")) {
+    if (!system("rsync -avC " . INSTALL_PATH . "$dir/* $target_dir/$dir/")) {
       $err = true;
       break;
     }
   }
   foreach (array('index.php','.htaccess','config/main.inc.php.dist','config/db.inc.php.dist','CHANGELOG','README','UPGRADING') as $file) {
-    if (!system("rsync -avu " . INSTALL_PATH . "$file $target_dir/$file")) {
+    if (!system("rsync -av " . INSTALL_PATH . "$file $target_dir/$file")) {
       $err = true;
       break;
     }