Преглед изворни кода

Remove gnusocial ttrss plugin

Bob Mottram пре 6 година
родитељ
комит
56a95cf0ba
1 измењених фајлова са 0 додато и 41 уклоњено
  1. 0
    41
      src/freedombone-app-rss

+ 0
- 41
src/freedombone-app-rss Прегледај датотеку

41
 RSS_MOBILE_READER_REPO="https://github.com/mboinet/ttrss-mobile"
41
 RSS_MOBILE_READER_REPO="https://github.com/mboinet/ttrss-mobile"
42
 RSS_MOBILE_READER_COMMIT='d5242e1c269e9480ab3b66b7a38da3c892dfb326'
42
 RSS_MOBILE_READER_COMMIT='d5242e1c269e9480ab3b66b7a38da3c892dfb326'
43
 RSS_READER_PATH=/etc/share/tt-rss
43
 RSS_READER_PATH=/etc/share/tt-rss
44
-RSS_READER_GNUSOCIAL_REPO="https://github.com/bashrc/ttrss-gnusocial"
45
-RSS_READER_GNUSOCIAL_COMMIT='20b2535e3f2b0ddc0117b584bdcaa6bf7a2d9fa2'
46
 
44
 
47
 rss_variables=(RSS_READER_REPO
45
 rss_variables=(RSS_READER_REPO
48
                RSS_MOBILE_READER_REPO
46
                RSS_MOBILE_READER_REPO
591
     install_completed rss_main
589
     install_completed rss_main
592
 }
590
 }
593
 
591
 
594
-function install_rss_gnusocial {
595
-    if [ ! "$GNUSOCIAL_DOMAIN_NAME" ]; then
596
-        return
597
-    fi
598
-
599
-    if [ ! $RSS_READER_PATH ]; then
600
-        RSS_READER_PATH=/etc/share/tt-rss
601
-    fi
602
-    RSS_READER_GNUSOCIAL_PATH=${RSS_READER_PATH}/plugins/gnusocial
603
-
604
-    # update to the next commit
605
-    function_check set_repo_commit
606
-    set_repo_commit $RSS_READER_GNUSOCIAL_PATH "rss reader gnusocial commit" "$RSS_READER_GNUSOCIAL_COMMIT" $RSS_READER_GNUSOCIAL_REPO
607
-    chown -R www-data:www-data $RSS_READER_GNUSOCIAL_PATH
608
-
609
-    if [[ $(is_completed "${FUNCNAME[0]}") == "1" ]]; then
610
-        return
611
-    fi
612
-
613
-    if [ ! -d "$INSTALL_DIR" ]; then
614
-        mkdir -p "$INSTALL_DIR"
615
-    fi
616
-
617
-    cd "$INSTALL_DIR" || exit 7246284
618
-    function_check git_clone
619
-    git_clone $RSS_READER_GNUSOCIAL_REPO ttrss-gnusocial
620
-    if [ ! -d "$INSTALL_DIR/ttrss-gnusocial" ]; then
621
-        echo $'Could not clone repo for RSS reader gnusocial plugin'
622
-        exit 52838
623
-    fi
624
-    cp -r "$INSTALL_DIR/ttrss-gnusocial" $RSS_READER_GNUSOCIAL_PATH
625
-    cd "$RSS_READER_GNUSOCIAL_PATH" || exit 782462424
626
-    git checkout $RSS_READER_GNUSOCIAL_COMMIT -b $RSS_READER_GNUSOCIAL_COMMIT
627
-    set_completion_param "rss reader gnusocial commit" "$RSS_READER_GNUSOCIAL_COMMIT"
628
-    chown -R www-data:www-data $RSS_READER_GNUSOCIAL_PATH
629
-    install_completed rss_gnusocial
630
-}
631
-
632
 function install_rss_mobile_reader {
592
 function install_rss_mobile_reader {
633
     if [ ! $RSS_READER_PATH ]; then
593
     if [ ! $RSS_READER_PATH ]; then
634
         RSS_READER_PATH=/etc/share/tt-rss
594
         RSS_READER_PATH=/etc/share/tt-rss
689
 
649
 
690
 function install_rss {
650
 function install_rss {
691
     install_rss_main
651
     install_rss_main
692
-    #install_rss_gnusocial
693
     install_rss_mobile_reader
652
     install_rss_mobile_reader
694
     APP_INSTALLED=1
653
     APP_INSTALLED=1
695
 }
654
 }