瀏覽代碼

Get mariadb password when restoring ttrss

Bob Mottram 7 年之前
父節點
當前提交
268c1dfc8a
共有 1 個檔案被更改,包括 6 行新增0 行删除
  1. 6
    0
      src/freedombone-app-rss

+ 6
- 0
src/freedombone-app-rss 查看文件

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