Bob Mottram преди 7 години
родител
ревизия
6e535f2eab
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1
    1
      src/freedombone-app-gnusocial
  2. 1
    1
      src/freedombone-app-postactiv

+ 1
- 1
src/freedombone-app-gnusocial Целия файл

@@ -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 Целия файл

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