diff --git a/src/freedombone b/src/freedombone index cc8f0b89..687d8a18 100755 --- a/src/freedombone +++ b/src/freedombone @@ -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