Bob Mottram 9 anni fa
parent
commit
615a827f4d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/freedombone-backup-remote

+ 1
- 1
src/freedombone-backup-remote Vedi File

@@ -225,7 +225,7 @@ function backup_letsencrypt {
225 225
 function backup_gnusocial {
226 226
     if grep -q "GNU Social domain" $COMPLETION_FILE; then
227 227
         MICROBLOG_DOMAIN_NAME=$(cat $COMPLETION_FILE | grep "GNU Social domain" | awk -F ':' '{print $2}')
228
-        if [ -d /var/www/${MICROBLOG_DOMAIN_NAME} ]; then
228
+        if [ -d /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs ]; then
229 229
             backup_database_to_friend gnusocial
230 230
             backup_directory_to_friend /root/tempgnusocialdata gnusocialdata
231 231
             echo $"Backing up GNU social installation"