Skip to content

Commit

Permalink
Update localinstall.sh
Browse files Browse the repository at this point in the history
Fix from gdcc#86
  • Loading branch information
qqmyers authored Oct 25, 2024
1 parent 47adf4b commit 6ee7f2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions localinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ source replace_js.sh
cat urls_js.txt

echo Downloading local copies of remote CSS files:
sed -n 's/.*<link.*href="\(http[^"]*\)".*/\1/p' *.html | sort -u | sed -n 's/^\(.*\/\)*\(.*\)/sed -i \x27s,\0\,lib\/\2,\x27 *.html/p' > replace_css.sh
sed -n 's/.*<link.*href="\(http[^"]*\)".*/\1/p' *.html | sort -u | sed -n 's/^\(.*\/\)*\(.*\)/sed -i \x27s,\0\,css\/\2,\x27 *.html/p' > replace_css.sh
sed -n 's/.*<link.*href="\(http[^"]*\)".*/\1/p' *.html | sort -u > urls_css.txt
source replace_css.sh
cat urls_css.txt
Expand Down Expand Up @@ -67,4 +67,4 @@ rm replace_js.sh
rm replace_css.sh

echo Done
exit 0
exit 0

0 comments on commit 6ee7f2b

Please sign in to comment.