diff options
Diffstat (limited to 'runsfeed')
-rwxr-xr-x | runsfeed | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/runsfeed b/runsfeed index 48f118d..9c3b330 100755 --- a/runsfeed +++ b/runsfeed | |||
@@ -5,17 +5,17 @@ | |||
5 | 5 | ||
6 | main() { | 6 | main() { |
7 | NOFETCH=false | 7 | NOFETCH=false |
8 | [ "x$1" = "x-n" ] && NOFETCH=true | 8 | [ "x$1" = "x-n" ] && { |
9 | NOFETCH=true | ||
10 | shift | ||
11 | } | ||
12 | [ -n "$1" ] && SFEED_OUTPUT="$1" || SFEED_OUTPUT="$HOME/.sfeed" | ||
13 | export SFEED_OUTPUT | ||
9 | export NOFETCH | 14 | export NOFETCH |
10 | export SFEED_CONFIG="$HOME/.sfeed" | 15 | export SFEED_CONFIG="$HOME/.sfeed" |
11 | # SFEED_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/sfeed" | 16 | # SFEED_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/sfeed" |
12 | export SFEED_DATA="$HOME/.sfeed" | 17 | export SFEED_DATA="$HOME/.sfeed" |
13 | # SFEED_DATA="${XDG_DATA_HOME:-$HOME/.local/share}/sfeed" | 18 | # SFEED_DATA="${XDG_DATA_HOME:-$HOME/.local/share}/sfeed" |
14 | if [ -d /var/www/acdw.casa/planet ]; then | ||
15 | export SFEED_OUTPUT=/var/www/acdw.casa/planet | ||
16 | else | ||
17 | export SFEED_OUTPUT="$HOME/.sfeed" | ||
18 | fi | ||
19 | # SFEED_OUTPUT=/var/www/sfeed | 19 | # SFEED_OUTPUT=/var/www/sfeed |
20 | export sfeedrc="$SFEED_CONFIG/sfeedrc" | 20 | export sfeedrc="$SFEED_CONFIG/sfeedrc" |
21 | export sfeedpath="$SFEED_DATA/feeds" | 21 | export sfeedpath="$SFEED_DATA/feeds" |