plugin ownership
This commit is contained in:
parent
fc9ae9f99c
commit
d36877e705
|
@ -8278,6 +8278,7 @@ function install_rss_reader_gnusocial {
|
||||||
|
|
||||||
# update to the next commit
|
# update to the next commit
|
||||||
set_repo_commit $RSS_READER_GNUSOCIAL_PATH "RSS reader gnusocial commit" "$RSS_READER_GNUSOCIAL_COMMIT" $RSS_READER_GNUSOCIAL_REPO
|
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
|
if grep -Fxq "install_rss_reader_gnusocial" $COMPLETION_FILE; then
|
||||||
return
|
return
|
||||||
|
@ -8299,6 +8300,7 @@ function install_rss_reader_gnusocial {
|
||||||
if ! grep -q "RSS reader gnusocial commit" $COMPLETION_FILE; then
|
if ! grep -q "RSS reader gnusocial commit" $COMPLETION_FILE; then
|
||||||
echo "RSS reader gnusocial commit:$RSS_READER_GNUSOCIAL_COMMIT" >> $COMPLETION_FILE
|
echo "RSS reader gnusocial commit:$RSS_READER_GNUSOCIAL_COMMIT" >> $COMPLETION_FILE
|
||||||
fi
|
fi
|
||||||
|
chown -R www-data:www-data $RSS_READER_GNUSOCIAL_PATH
|
||||||
echo " define('gnusocial_url', '$MICROBLOG_DOMAIN_NAME');" >> $RSS_READER_PATH/config.php
|
echo " define('gnusocial_url', '$MICROBLOG_DOMAIN_NAME');" >> $RSS_READER_PATH/config.php
|
||||||
|
|
||||||
echo 'install_rss_reader_gnusocial' >> $COMPLETION_FILE
|
echo 'install_rss_reader_gnusocial' >> $COMPLETION_FILE
|
||||||
|
|
Loading…
Reference in New Issue