From: Silvio Rhatto Date: Sun, 28 Jul 2019 20:07:18 +0000 (-0300) Subject: News: newsboat support X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=af3f29244780bb4d1650bb283631b3de7562888a;p=wrappers.git News: newsboat support --- diff --git a/news b/news index 15a3cc0..69be333 100755 --- a/news +++ b/news @@ -5,19 +5,21 @@ # Parameters BASENAME="`basename $0`" +#APP="newsbeuter" +APP="newsboat" # Check configuration -if [ ! -e "$HOME/.custom/newsbeuter/config" ]; then - mkdir -p $HOME/.custom/newsbeuter - touch $HOME/.custom/newsbeuter/config +if [ ! -e "$HOME/.custom/$APP/config" ]; then + mkdir -p $HOME/.custom/$APP + touch $HOME/.custom/$APP/config fi # Check data folder -if [ ! -e "$HOME/.local/share/newsbeuter" ]; then - mkdir -p $HOME/.local/share/newsbeuter +if [ ! -e "$HOME/.local/share/$APP" ]; then + mkdir -p $HOME/.local/share/$APP fi # Dispatch -# Put Tor config directly in newsbeuter configuration -#TORSOCKS_DEBUG=-1 torify newsbeuter -newsbeuter +# Put Tor config directly in $APP configuration +#TORSOCKS_DEBUG=-1 torify $APP +$APP