Adjust support status lists for master to be site-relative

Original lists were modified to drop the leading / and absolute URLs
were converted too.
merge-requests/1/head
Olaf Meeuwissen 2018-03-07 22:07:54 +09:00
rodzic 2695c80242
commit acfdb3b2c1
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -17,7 +17,7 @@ pages:
- mv public/lists/sane-backends.html public/lists/sane-backends-cvs.html
- mv public/lists/sane-mfgs.html public/lists/sane-mfgs-cvs.html
- rm public/lists/sane-mfgs-external.html
- for f in public/lists/*.html; do sed -i 's|href="/contrib|href="../contrib|g; s|href="/unsupported|href="../unsupported|g' $f; done
- for f in public/lists/*.html; do sed -i 's|href="contrib|href="../contrib|g; s|href="unsupported|href="../unsupported|g; s|href="man/|href="../man/|g; s|href="imprint|href="../imprint|g; s|href="bugs|href="../bugs|g; s|href="\./|href="../|g; s|src="image|src="../image|g' $f; done
- wget --quiet -O frontends.zip $URL/frontends/-/jobs/artifacts/master/download?job=archive
- unzip -oqd public/snapshots frontends.zip
- ./public/snapshots/create-index.sh > public/snapshots/index.html