summaryrefslogtreecommitdiff
path: root/bin/installto.sh
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-10-06 08:20:11 +0000
committerthomascube <thomas@roundcube.net>2011-10-06 08:20:11 +0000
commit373b112f349e5587f0a54c6086fb6654109d3013 (patch)
tree674bbe3d99d31263d47a79b1c6b66d22882a9745 /bin/installto.sh
parente9c47c612e9480754b3d647118f305147a3dad64 (diff)
Force files to be updated, even if newer (#1488117)
Diffstat (limited to 'bin/installto.sh')
-rwxr-xr-xbin/installto.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/installto.sh b/bin/installto.sh
index b1e2956a1..47c959ad7 100755
--- a/bin/installto.sh
+++ b/bin/installto.sh
@@ -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;
}