gnusocial plugin directory name
This commit is contained in:
parent
3d668fea4f
commit
2803095b7d
|
@ -841,13 +841,13 @@ function install_gnusocial_plugin_nsfw {
|
||||||
|
|
||||||
cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins
|
cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins
|
||||||
function_check git_clone
|
function_check git_clone
|
||||||
git_clone $GNUSOCIAL_NSFW_REPO NSFW
|
git_clone $GNUSOCIAL_NSFW_REPO SensitiveContent
|
||||||
if [ ! -d /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/NSFW ]; then
|
if [ ! -d /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/SensitiveContent ]; then
|
||||||
echo $'Unable to clone microblog NSFW plugin'
|
echo $'Unable to clone microblog NSFW plugin'
|
||||||
exit 36738
|
exit 36738
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/NSFW
|
cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/SensitiveContent
|
||||||
git stash
|
git stash
|
||||||
git checkout master
|
git checkout master
|
||||||
git branch -D $GNUSOCIAL_NSFW_COMMIT
|
git branch -D $GNUSOCIAL_NSFW_COMMIT
|
||||||
|
|
Loading…
Reference in New Issue