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
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue