File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -14,3 +14,11 @@ umask 002
14
14
exec -a "\$ 0" "$BASE_PATH " --no-sandbox "\$ @"
15
15
_EOF
16
16
chmod +x " $WRAPPER_PATH "
17
+
18
+ # Debian/Ubuntu seems to not respect --lang, it instead needs to be a LANGUAGE environment var
19
+ # See: https://stackoverflow.com/a/41893197/359999
20
+ for var in " $@ " ; do
21
+ if [[ $var == --lang= * ]]; then
22
+ export LANGUAGE=${var// --lang=}
23
+ fi
24
+ done
Original file line number Diff line number Diff line change @@ -14,3 +14,11 @@ umask 002
14
14
exec -a "\$ 0" "$BASE_PATH " --no-sandbox "\$ @"
15
15
_EOF
16
16
chmod +x " $WRAPPER_PATH "
17
+
18
+ # Debian/Ubuntu seems to not respect --lang, it instead needs to be a LANGUAGE environment var
19
+ # See: https://stackoverflow.com/a/41893197/359999
20
+ for var in " $@ " ; do
21
+ if [[ $var == --lang= * ]]; then
22
+ export LANGUAGE=${var// --lang=}
23
+ fi
24
+ done
You can’t perform that action at this time.
0 commit comments