diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2019-06-06 09:05:12 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-06-06 19:15:04 +0300 |
commit | 27c5d9f16f535b2aacdf009744d4f99d59b9c81f (patch) | |
tree | 0550d61cfeb617b3a602b9470684d217ea0fe142 /setup.py | |
parent | 5065db86f21f01d19a0b792bc8fb80389c8c2997 (diff) | |
download | meson-27c5d9f16f535b2aacdf009744d4f99d59b9c81f.zip meson-27c5d9f16f535b2aacdf009744d4f99d59b9c81f.tar.gz meson-27c5d9f16f535b2aacdf009744d4f99d59b9c81f.tar.bz2 |
gnome.yelp(): Fix media symlink fallback path
When the media file for a specific language doesn't exist we try to symlink
it to the C one. If symlinking fails we need to fall back to copying the C
one like in the non-symlink case.
The fallback code path didn't set the source so this always failed.
Also check if the C fallback exists before trying to symlink/copy, otherwise
we crash if C isn't the first lang we try.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions