diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2019-07-28 17:07:18 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2019-07-28 17:07:18 -0300 |
commit | af3f29244780bb4d1650bb283631b3de7562888a (patch) | |
tree | 7771e221e16ab2bc704ef8219290a755eaec0599 | |
parent | c25177434ab417e3bd2e210e3b330f65f57f464b (diff) | |
download | wrappers-af3f29244780bb4d1650bb283631b3de7562888a.tar.gz wrappers-af3f29244780bb4d1650bb283631b3de7562888a.tar.bz2 |
News: newsboat support
-rwxr-xr-x | news | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -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 |