From af3f29244780bb4d1650bb283631b3de7562888a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 28 Jul 2019 17:07:18 -0300 Subject: News: newsboat support --- news | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) 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 -- cgit v1.2.3