diff --git a/src/freedombone b/src/freedombone index eed33a9b..ac405524 100755 --- a/src/freedombone +++ b/src/freedombone @@ -8354,6 +8354,15 @@ function install_rss_mobile_reader { RSS_MOBILE_READER_PATH=/etc/share/ttrss-mobile + # remove any previous install + if [ -d $RSS_READER_PATH/g2ttree-mobile ]; then + if grep -Fxq "install_rss_mobile_reader" $COMPLETION_FILE; then + sed -i '/install_rss_mobile_reader/d' $COMPLETION_FILE + sed -i '/RSS mobile reader commit/d' $COMPLETION_FILE + rm -rf $RSS_READER_PATH/g2ttree-mobile + fi + fi + # update to the next commit set_repo_commit $RSS_MOBILE_READER_PATH "RSS mobile reader commit" "$RSS_MOBILE_READER_COMMIT" $RSS_MOBILE_READER_REPO