瀏覽代碼

Remove dubious pelican theme css at install time

Bob Mottram 7 年之前
父節點
當前提交
4bb3d4b0b4
共有 1 個檔案被更改,包括 8 行新增0 行删除
  1. 8
    0
      src/freedombone-app-pelican

+ 8
- 0
src/freedombone-app-pelican 查看文件

741
     git clone https://github.com/samael500/w3-personal-blog
741
     git clone https://github.com/samael500/w3-personal-blog
742
     git clone https://github.com/jarv/water-iris
742
     git clone https://github.com/jarv/water-iris
743
     git clone https://github.com/kplaube/yapeme
743
     git clone https://github.com/kplaube/yapeme
744
+
745
+    # remove any dubious css
746
+    for d in */ ; do
747
+        THEME_NAME=$(echo "$d" | awk -F '/' '{print $1}')
748
+        if [ -d $d/static/css/style.css ]; then
749
+            sed -i '/googleapi/d' $d/static/css/style.css
750
+        fi
751
+    done
744
 }
752
 }
745
 
753
 
746
 function mesh_install_pelican {
754
 function mesh_install_pelican {