gnusocial plugin directory name

This commit is contained in:
Bob Mottram 2016-09-28 20:49:25 +01:00
parent 3d668fea4f
commit 2803095b7d
1 changed files with 3 additions and 3 deletions

View File

@ -841,13 +841,13 @@ function install_gnusocial_plugin_nsfw {
cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins
function_check git_clone
git_clone $GNUSOCIAL_NSFW_REPO NSFW
if [ ! -d /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/NSFW ]; then
git_clone $GNUSOCIAL_NSFW_REPO SensitiveContent
if [ ! -d /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/SensitiveContent ]; then
echo $'Unable to clone microblog NSFW plugin'
exit 36738
fi
cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/NSFW
cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/SensitiveContent
git stash
git checkout master
git branch -D $GNUSOCIAL_NSFW_COMMIT