plugin ownership

This commit is contained in:
Bob Mottram 2016-03-18 17:42:38 +00:00
parent fc9ae9f99c
commit d36877e705
1 changed files with 2 additions and 0 deletions

View File

@ -8278,6 +8278,7 @@ function install_rss_reader_gnusocial {
# update to the next commit
set_repo_commit $RSS_READER_GNUSOCIAL_PATH "RSS reader gnusocial commit" "$RSS_READER_GNUSOCIAL_COMMIT" $RSS_READER_GNUSOCIAL_REPO
chown -R www-data:www-data $RSS_READER_GNUSOCIAL_PATH
if grep -Fxq "install_rss_reader_gnusocial" $COMPLETION_FILE; then
return
@ -8299,6 +8300,7 @@ function install_rss_reader_gnusocial {
if ! grep -q "RSS reader gnusocial commit" $COMPLETION_FILE; then
echo "RSS reader gnusocial commit:$RSS_READER_GNUSOCIAL_COMMIT" >> $COMPLETION_FILE
fi
chown -R www-data:www-data $RSS_READER_GNUSOCIAL_PATH
echo " define('gnusocial_url', '$MICROBLOG_DOMAIN_NAME');" >> $RSS_READER_PATH/config.php
echo 'install_rss_reader_gnusocial' >> $COMPLETION_FILE