diff options
author | Case Duckworth | 2022-07-18 00:07:32 -0500 |
---|---|---|
committer | Case Duckworth | 2022-07-18 00:07:32 -0500 |
commit | df16be1f6296e00f5d5812f5dcf13fefaffe83b8 (patch) | |
tree | 05f5f9526ebd927e7c0ae6df41a6b057ea235b53 /runsfeed | |
parent | Add footer (diff) | |
download | sfeed-df16be1f6296e00f5d5812f5dcf13fefaffe83b8.tar.gz sfeed-df16be1f6296e00f5d5812f5dcf13fefaffe83b8.zip |
Path mangling
Diffstat (limited to 'runsfeed')
-rwxr-xr-x | runsfeed | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/runsfeed b/runsfeed index e6714a7..2296736 100755 --- a/runsfeed +++ b/runsfeed | |||
@@ -8,7 +8,11 @@ main() { | |||
8 | # SFEED_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/sfeed" | 8 | # SFEED_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/sfeed" |
9 | export SFEED_DATA="$HOME/.sfeed" | 9 | export SFEED_DATA="$HOME/.sfeed" |
10 | # SFEED_DATA="${XDG_DATA_HOME:-$HOME/.local/share}/sfeed" | 10 | # SFEED_DATA="${XDG_DATA_HOME:-$HOME/.local/share}/sfeed" |
11 | export SFEED_OUTPUT="$HOME/.sfeed" | 11 | if [ -d /var/www/acdw.casa/planet ]; then |
12 | export SFEED_OUTPUT=/var/www/acdw.casa/planet | ||
13 | else | ||
14 | export SFEED_OUTPUT="$HOME/.sfeed" | ||
15 | fi | ||
12 | # SFEED_OUTPUT=/var/www/sfeed | 16 | # SFEED_OUTPUT=/var/www/sfeed |
13 | export sfeedrc="$SFEED_CONFIG/sfeedrc" | 17 | export sfeedrc="$SFEED_CONFIG/sfeedrc" |
14 | export sfeedpath="$SFEED_DATA/feeds" | 18 | export sfeedpath="$SFEED_DATA/feeds" |