Upgrading GS/pA

This commit is contained in:
Bob Mottram 2017-07-18 13:15:24 +01:00
parent e6ef9d9a7d
commit 6e535f2eab
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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