diff --git a/src/freedombone-mesh-blog b/src/freedombone-mesh-blog index 7d4db15b..366b87c4 100755 --- a/src/freedombone-mesh-blog +++ b/src/freedombone-mesh-blog @@ -45,8 +45,8 @@ function remove_bad_blog_links { current_theme=$1 cd $BLOG_PATH/themes/$current_theme - find ./ -type f -name *.css -exec sed -i -e 's/fonts.googleapis.com/localhost/g' {} \; - find ./ -type f -name *.html -exec sed -i -e 's/fonts.googleapis.com/localhost/g' {} \; + find ./ -type f -name *.css -exec sed -i -e '/fonts.googleapis.com/d' {} \; + find ./ -type f -name *.html -exec sed -i -e '/fonts.googleapis.com/d' {} \; } function ipfs_publish { @@ -82,10 +82,10 @@ function regenerate_blog { fi make html - # remova any google fonts + # remove any google fonts cd $BLOG_PATH - find ./ -type f -name *.css -exec sed -i -e 's/fonts.googleapis.com/localhost/g' {} \; - find ./ -type f -name *.html -exec sed -i -e 's/fonts.googleapis.com/localhost/g' {} \; + find ./ -type f -name *.css -exec sed -i -e '/fonts.googleapis.com/d' {} \; + find ./ -type f -name *.html -exec sed -i -e '/fonts.googleapis.com/d' {} \; ipfs_publish }