|
|
|
|
9329
|
# update to a new commit if needed
|
9329
|
# update to a new commit if needed
|
9330
|
set_repo_commit $HUBZILLA_PATH "Hubzilla commit" "$HUBZILLA_COMMIT" $HUBZILLA_REPO
|
9330
|
set_repo_commit $HUBZILLA_PATH "Hubzilla commit" "$HUBZILLA_COMMIT" $HUBZILLA_REPO
|
9331
|
set_repo_commit $HUBZILLA_PATH "Hubzilla addons commit" "$HUBZILLA_ADDONS_COMMIT" $HUBZILLA_ADDONS_REPO
|
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
|
if grep -Fxq "install_hubzilla" $COMPLETION_FILE; then
|
9341
|
if grep -Fxq "install_hubzilla" $COMPLETION_FILE; then
|
9334
|
return
|
9342
|
return
|