update to populate qvitter notifications table

This commit is contained in:
Bob Mottram 2017-04-02 19:34:09 +01:00
parent 260b4a7de0
commit 1e5784cd8e
3 changed files with 18 additions and 5 deletions

View File

@ -470,9 +470,6 @@ function remove_gnusocial {
rm /etc/cron.hourly/gnusocial-daemons
fi
remove_backup_database_local gnusocial
if [ -d $INSTALL_DIR/pleroma ]; then
rm -rf $INSTALL_DIR/pleroma
fi
function_check remove_ddns_domain
remove_ddns_domain $GNUSOCIAL_DOMAIN_NAME
@ -779,6 +776,7 @@ function install_gnusocial_plugin_sharings {
cd /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/local/plugins/Sharings
php scripts/seedsharings.php
cd /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs
php scripts/upgrade.php
php scripts/checkschema.php
# Languages

View File

@ -771,11 +771,21 @@ function install_postactiv {
fi
install_postactiv_main
install_qvitter "$POSTACTIV_DOMAIN_NAME" "postactiv"
#install_qvitter "$POSTACTIV_DOMAIN_NAME" "postactiv"
#function_check install_nodejs
#install_nodejs pleroma-postactiv
#install_pleroma "postactiv" "$POSTACTIV_DOMAIN_NAME" "$POSTACTIV_BACKGROUND_IMAGE_URL" "$POSTACTIV_TITLE"
# Currently Pleroma won't install on ARM systems
# because it uses node-sass which doesn't support ARM
if [[ "$(arch)" == "arm"* ]]; then
echo -m $'WARNING: Pleroma currently does not support ARM '
echo $'architecture, so it will not be installed'
else
function_check install_nodejs
install_nodejs pleroma-gnusocial
install_pleroma "postactiv" "$POSTACTIV_DOMAIN_NAME" "$POSTACTIV_BACKGROUND_IMAGE_URL" "$POSTACTIV_TITLE"
fi
expire_postactiv_posts

View File

@ -150,6 +150,11 @@ function install_qvitter {
chown -R www-data:www-data /var/www/${domain_name}/htdocs
cd /var/www/${domain_name}/htdocs
php scripts/upgrade.php
php scripts/checkschema.php
chown -R www-data:www-data /var/www/${domain_name}/htdocs
set_completion_param "${app_name} theme commit" "$QVITTER_THEME_COMMIT"
install_completed ${app_name}_theme