Correctly self-update with Unix new lines (from git repository)