Uninstall previous mobile rss reader
This commit is contained in:
parent
6f5fd95fa3
commit
449eaca4bc
|
@ -8354,6 +8354,15 @@ function install_rss_mobile_reader {
|
||||||
|
|
||||||
RSS_MOBILE_READER_PATH=/etc/share/ttrss-mobile
|
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
|
# update to the next commit
|
||||||
set_repo_commit $RSS_MOBILE_READER_PATH "RSS mobile reader commit" "$RSS_MOBILE_READER_COMMIT" $RSS_MOBILE_READER_REPO
|
set_repo_commit $RSS_MOBILE_READER_PATH "RSS mobile reader commit" "$RSS_MOBILE_READER_COMMIT" $RSS_MOBILE_READER_REPO
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue