rpg
rpg copied to clipboard
rpg-sync fails on fresh linux install
This is due to http://github.com/rtomayko/rpg/blob/master/rpg-sync.sh#L216
When that diff command causes an error due to the missing release file, the && also fails, and so the whole script, which is set -e, aborts. I think the && should be an ||. Or alternatively, make the command diff -Nu, which treats non-existent files as empty.
This looks to be the same issue as https://github.com/rtomayko/rpg/pull/19. Which shell are you running?
bash, so I think your pull request should have fixed it.