Microblog

This commit is contained in:
Bob Mottram 2016-02-03 19:18:09 +00:00
parent 9ed150fc61
commit e6c537b1fc
1 changed files with 2 additions and 2 deletions

View File

@ -8583,7 +8583,7 @@ function install_gnu_social_theme {
if [[ "$CURRENT_MICROBLOG_THEME_COMMIT" != "$MICROBLOG_THEME_COMMIT" ]]; then if [[ "$CURRENT_MICROBLOG_THEME_COMMIT" != "$MICROBLOG_THEME_COMMIT" ]]; then
cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins
git_pull $MICROBLOG_THEME_REPO $MICROBLOG_THEME_COMMIT git_pull $MICROBLOG_THEME_REPO $MICROBLOG_THEME_COMMIT
sed -i "s/GNU Social theme commit.*/GNU Social theme commit:$GNUSOCIAL_THEME_COMMIT/g" $COMPLETION_FILE sed -i "s/GNU Social theme commit.*/GNU Social theme commit:$MICROBLOG_THEME_COMMIT/g" $COMPLETION_FILE
chown -R www-data:www-data /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local chown -R www-data:www-data /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local
fi fi
else else
@ -8609,7 +8609,7 @@ function install_gnu_social_theme {
fi fi
if ! grep -q "GNU Social theme commit" $COMPLETION_FILE; then if ! grep -q "GNU Social theme commit" $COMPLETION_FILE; then
echo "GNU Social theme commit:$GNUSOCIAL_THEME_COMMIT" >> $COMPLETION_FILE echo "GNU Social theme commit:$MICROBLOG_THEME_COMMIT" >> $COMPLETION_FILE
fi fi
chown -R www-data:www-data /var/www/$MICROBLOG_DOMAIN_NAME/htdocs chown -R www-data:www-data /var/www/$MICROBLOG_DOMAIN_NAME/htdocs