Sfoglia il codice sorgente

Get mariadb password when restoring ttrss

Bob Mottram 7 anni fa
parent
commit
268c1dfc8a
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6
    0
      src/freedombone-app-rss

+ 6
- 0
src/freedombone-app-rss Vedi File

@@ -163,6 +163,9 @@ function backup_local_rss {
163 163
 function restore_local_rss {
164 164
     temp_restore_dir=/root/tempttrss
165 165
 
166
+    function_check get_mariadb_password
167
+    get_mariadb_password
168
+
166 169
     function_check rss_create_database
167 170
     rss_create_database
168 171
 
@@ -239,6 +242,9 @@ function restore_remote_rss {
239 242
     temp_restore_dir=/root/tempttrss
240 243
     if grep -q "rss reader domain" $COMPLETION_FILE; then
241 244
         echo $"Restoring ttrss"
245
+        function_check get_mariadb_password
246
+        get_mariadb_password
247
+
242 248
         function_check restore_database_from_friend
243 249
 
244 250
         function_check rss_create_database