Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Anton Palgunov
mkimage-profiles
Commits
40080a18
Commit
40080a18
authored
Jun 23, 2016
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: en_US fallback for index.html symlink
It's unfortunate but leaving "upstream" redirector index.html files without their final target is worse yet; hope this gets popravleno some day.
parent
3c65c498
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
50-docs-indexhtml
features.in/docs/scripts.d/50-docs-indexhtml
+2
-2
No files found.
features.in/docs/scripts.d/50-docs-indexhtml
View file @
40080a18
...
...
@@ -14,9 +14,9 @@ indexfile="$indexdir/index.html"
[ -s "$indexfile" ] || nonfatal "$indexfile not found"
[ -n "$GLOBAL_LOCALE" ] ||
echo "** warning: GLOBAL_LOCALE empty,
maybe use/l10n"
>
&
2
echo "** warning: GLOBAL_LOCALE empty,
fallback to en_US (use/l10n?)"
>
&
2
LANG="$
GLOBAL_LOCALE
" indexhtml-update
LANG="$
{GLOBAL_LOCALE:-en_US}
" indexhtml-update
# http://unix.stackexchange.com/questions/94185/convert-soft-to-hardlinks
cp -aH "$indexdir" "$dest"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment