Commit 40080a18 authored by Michael Shigorin's avatar Michael Shigorin

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
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment