Browse Source

Upgrading GS/pA

Bob Mottram 7 years ago
parent
commit
6e535f2eab
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      src/freedombone-app-gnusocial
  2. 1
    1
      src/freedombone-app-postactiv

+ 1
- 1
src/freedombone-app-gnusocial View File

@@ -351,7 +351,7 @@ function upgrade_gnusocial {
351 351
         rm /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/install.php
352 352
     fi
353 353
 
354
-    if [ -d $INSTALL_DIR/pleroma ]; then
354
+    if [ -f /var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs/index_qvitter.php ]; then
355 355
         if [ -f /var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs/index.php ]; then
356 356
             mv /var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs/index.php /var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs/index_qvitter.php
357 357
         fi

+ 1
- 1
src/freedombone-app-postactiv View File

@@ -365,7 +365,7 @@ function upgrade_postactiv {
365 365
         rm /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/install.php
366 366
     fi
367 367
 
368
-    if [ -d $INSTALL_DIR/pleroma ]; then
368
+    if [ -f /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/index_qvitter.php ]; then
369 369
         if [ -f /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/index.php ]; then
370 370
             mv /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/index.php /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/index_qvitter.php
371 371
         fi