Commit 80051bd1 authored by Anton Midyukov's avatar Anton Midyukov

docs: delete links with absolute PATH 'file:///'

iso image can be mounted in another OS, where there will be other files at absolute paths.
parent c2c01a82
...@@ -21,6 +21,9 @@ LANG="${GLOBAL_LOCALE:-en_US}" indexhtml-update ...@@ -21,6 +21,9 @@ LANG="${GLOBAL_LOCALE:-en_US}" indexhtml-update
# http://unix.stackexchange.com/questions/94185/convert-soft-to-hardlinks # http://unix.stackexchange.com/questions/94185/convert-soft-to-hardlinks
cp -aH "$indexdir" "$dest" cp -aH "$indexdir" "$dest"
# delete links with absolute PATH
sed -i '/file:\/\/\//d' "$dest"/indexhtml/index-*.html
mkredir() { mkredir() {
cat >"${1}index.html" <<-EOF cat >"${1}index.html" <<-EOF
<html> <html>
......
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