Not the github version of markdown

This commit is contained in:
Bob Mottram 2016-02-11 14:22:03 +00:00
parent 9b7b89a789
commit 7958a64e18
1 changed files with 1 additions and 4 deletions

View File

@ -9094,8 +9094,6 @@ function install_gnu_social_markdown {
return
fi
apt-get -y install pkg-php-tools
# update to the next commit
if grep -q "addPlugin('Markdown'" /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/config.php; then
if grep -q "GNU Social Markdown commit" $COMPLETION_FILE; then
@ -9123,13 +9121,12 @@ function install_gnu_social_markdown {
git_clone $MICROBLOG_MARKDOWN_REPO Markdown
cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/Markdown
git checkout $MICROBLOG_MARKDOWN_COMMIT -b $MICROBLOG_MARKDOWN_COMMIT
composer install
microblog_config_file=/var/www/$MICROBLOG_DOMAIN_NAME/htdocs/config.php
if ! grep -q "addPlugin('Markdown'" $microblog_config_file; then
echo "" >> $microblog_config_file
echo "// Markdown settings" >> $microblog_config_file
echo "addPlugin('Markdown', array('parser' => 'gfm'));" >> $microblog_config_file
echo "addPlugin('Markdown');" >> $microblog_config_file
fi
if ! grep -q "GNU Social Markdown commit" $COMPLETION_FILE; then