Upgrading GS/pA
This commit is contained in:
parent
e6ef9d9a7d
commit
6e535f2eab
|
@ -351,7 +351,7 @@ function upgrade_gnusocial {
|
||||||
rm /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/install.php
|
rm /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/install.php
|
||||||
fi
|
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
|
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
|
mv /var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs/index.php /var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs/index_qvitter.php
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -365,7 +365,7 @@ function upgrade_postactiv {
|
||||||
rm /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/install.php
|
rm /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/install.php
|
||||||
fi
|
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
|
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
|
mv /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/index.php /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/index_qvitter.php
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue