rpg icon indicating copy to clipboard operation
rpg copied to clipboard

rpg-sync fails on fresh linux install

Open namelessjon opened this issue 14 years ago • 2 comments

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.

namelessjon avatar Jun 27 '10 00:06 namelessjon

This looks to be the same issue as https://github.com/rtomayko/rpg/pull/19. Which shell are you running?

p avatar Aug 06 '11 16:08 p

bash, so I think your pull request should have fixed it.

namelessjon avatar Aug 06 '11 16:08 namelessjon