Procházet zdrojové kódy

Remove dubious pelican theme css at install time

Bob Mottram před 7 roky
rodič
revize
4bb3d4b0b4
1 změnil soubory, kde provedl 8 přidání a 0 odebrání
  1. 8
    0
      src/freedombone-app-pelican

+ 8
- 0
src/freedombone-app-pelican Zobrazit soubor

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 {