aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dotfiles/core.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/dotfiles/core.py b/dotfiles/core.py
index d29c6ae..90a9ba4 100644
--- a/dotfiles/core.py
+++ b/dotfiles/core.py
@@ -230,5 +230,6 @@ class Dotfiles(object):
self.repository = target
- self._load()
- self.sync(force=True)
+ if not self.dry_run:
+ self._load()
+ self.sync(force=True)