ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / gn / gnome-frog / update-compatible-with-non-flatpak-env.patch
blob5ae0458ceeea7497793d16cc50de091b76824a91
1 diff --git a/frog/language_manager.py b/frog/language_manager.py
2 index d822c44..bc289db 100644
3 --- a/frog/language_manager.py
4 +++ b/frog/language_manager.py
5 @@ -193,7 +193,7 @@ class LanguageManager(GObject.GObject):
6 os.mkdir(tessdata_dir)
8 dest_path = os.path.join(tessdata_dir, 'eng.traineddata')
9 - source_path = pathlib.Path('/app/share/appdata/eng.traineddata')
10 + source_path = pathlib.Path('@out@/share/appdata/eng.traineddata')
11 if os.path.exists(dest_path):
12 return