Microblog
This commit is contained in:
parent
9ed150fc61
commit
e6c537b1fc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue