Browse Source

Get mariadb password when restoring ttrss

Bob Mottram 7 years ago
parent
commit
268c1dfc8a
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      src/freedombone-app-rss

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

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