Browse Source

Test if db/schema.rb still known to git

master
Benjamin Neff 7 years ago
parent
commit
0b5063849e
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      diaspora/install.sls

+ 1
- 1
diaspora/install.sls View File

@@ -83,7 +83,7 @@ diaspora_reset_schema.rb:
- name: git checkout db/schema.rb
- runas: {{ diaspora.user.username }}
- cwd: {{ diaspora.install_path }}
- onlyif: git rev-parse && ! git diff --name-only --exit-code db/schema.rb
- onlyif: git ls-files --error-unmatch db/schema.rb && git rev-parse && ! git diff --name-only --exit-code db/schema.rb

diaspora_git:
git.latest:

Loading…
Cancel
Save