diff --git a/src/freedombone-app-gnusocial b/src/freedombone-app-gnusocial index e0d186c6..32255ab3 100755 --- a/src/freedombone-app-gnusocial +++ b/src/freedombone-app-gnusocial @@ -351,7 +351,7 @@ function upgrade_gnusocial { rm /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/install.php fi - if [ -d $INSTALL_DIR/pleroma ]; then + if [ -f /var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs/index_qvitter.php ]; then if [ -f /var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs/index.php ]; then mv /var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs/index.php /var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs/index_qvitter.php fi diff --git a/src/freedombone-app-postactiv b/src/freedombone-app-postactiv index 78d75392..35ae70d1 100755 --- a/src/freedombone-app-postactiv +++ b/src/freedombone-app-postactiv @@ -365,7 +365,7 @@ function upgrade_postactiv { rm /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/install.php fi - if [ -d $INSTALL_DIR/pleroma ]; then + if [ -f /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/index_qvitter.php ]; then if [ -f /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/index.php ]; then mv /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/index.php /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/index_qvitter.php fi