|
@@ -666,24 +666,6 @@ function restore_mailing_list {
|
666
|
666
|
fi
|
667
|
667
|
}
|
668
|
668
|
|
669
|
|
-function restore_rss {
|
670
|
|
- if [[ $RESTORE_APP != 'all' ]]; then
|
671
|
|
- if [[ $RESTORE_APP != 'ttrss' ]]; then
|
672
|
|
- return
|
673
|
|
- fi
|
674
|
|
- fi
|
675
|
|
- if grep -q "RSS reader domain" $COMPLETION_FILE; then
|
676
|
|
- RSS_READER_DOMAIN_NAME=$(cat $COMPLETION_FILE | grep "RSS reader domain" | awk -F ':' '{print $2}')
|
677
|
|
- restore_database_from_friend ttrss ${RSS_READER_DOMAIN_NAME}
|
678
|
|
- if [ -d $SERVER_DIRECTORY/backup/ttrss ]; then
|
679
|
|
- chown -R www-data:www-data /etc/share/tt-rss
|
680
|
|
- fi
|
681
|
|
- if [ -d /root/tempttrss ]; then
|
682
|
|
- rm -rf /root/tempttrss
|
683
|
|
- fi
|
684
|
|
- fi
|
685
|
|
-}
|
686
|
|
-
|
687
|
669
|
function restore_syncthing {
|
688
|
670
|
if [[ $RESTORE_APP != 'all' ]]; then
|
689
|
671
|
if [[ $RESTORE_APP != 'syncthing' ]]; then
|
|
@@ -1052,7 +1034,6 @@ restore_personal_settings
|
1052
|
1034
|
restore_mailing_list
|
1053
|
1035
|
restore_email
|
1054
|
1036
|
|
1055
|
|
-restore_rss
|
1056
|
1037
|
restore_syncthing
|
1057
|
1038
|
restore_mediagoblin
|
1058
|
1039
|
restore_gogs
|