Commit 1c878517 authored by Philippe Mouchel's avatar Philippe Mouchel
Browse files

Add --delete options to rsync task

parent 7930ae51
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -128,7 +128,7 @@ def _rsync_platform(target, target_directory):
    """
    Helper function to rsync platform to server.
    """
    local('rsync -a --exclude sites/*/settings.php --exclude sites/*/files src/drupal/ {}@{}:{}'.format(target.get('user'), target.get('host'), target_directory))
    local('rsync -a --delete --exclude sites/*/settings.php --exclude sites/*/files src/drupal/ {}@{}:{}'.format(target.get('user'), target.get('host'), target_directory))


def _aegir_provision_platform(platform, aegir_path, aegir_destsrv):