Also update hubzilla themes

This commit is contained in:
Bob Mottram 2016-03-05 09:42:46 +00:00
parent ae8c76802e
commit fb381a5d40
1 changed files with 8 additions and 0 deletions

View File

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