]> gitweb.fluxo.info Git - wrappers.git/commitdiff
News: newsboat support
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 28 Jul 2019 20:07:18 +0000 (17:07 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 28 Jul 2019 20:07:18 +0000 (17:07 -0300)
news

diff --git a/news b/news
index 15a3cc0a76d4411f4423c2ad3432273998a958d2..69be33328545cc1b8853a71efd9ad5720091f2a6 100755 (executable)
--- 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