Skip to content
Snippets Groups Projects
Commit 2803095b authored by Bob Mottram's avatar Bob Mottram
Browse files

gnusocial plugin directory name

parent 3d668fea
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment