Sfoglia il codice sorgente

Also update hubzilla themes

Bob Mottram 9 anni fa
parent
commit
fb381a5d40
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. 8
    0
      src/freedombone

+ 8
- 0
src/freedombone Vedi File

@@ -9329,6 +9329,14 @@ function install_hubzilla {
9329 9329
     # update to a new commit if needed
9330 9330
     set_repo_commit $HUBZILLA_PATH "Hubzilla commit" "$HUBZILLA_COMMIT" $HUBZILLA_REPO
9331 9331
     set_repo_commit $HUBZILLA_PATH "Hubzilla addons commit" "$HUBZILLA_ADDONS_COMMIT" $HUBZILLA_ADDONS_REPO
9332
+    if [ -d $HUBZILLA_PATH/redmatrix-themes1 ]; then
9333
+        cd $HUBZILLA_PATH/redmatrix-themes1
9334
+        git stash
9335
+        git pull
9336
+        cd $HUBZILLA_PATH/addon
9337
+        cp -r $HUBZILLA_PATH/redmatrix-themes1/* view/theme/
9338
+        chown -R www-data:www-data $HUBZILLA_PATH
9339
+    fi
9332 9340
 
9333 9341
     if grep -Fxq "install_hubzilla" $COMPLETION_FILE; then
9334 9342
         return