diff options
Diffstat (limited to 'runsfeed')
-rwxr-xr-x | runsfeed | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runsfeed b/runsfeed index 75b141b..3fc6ee6 100755 --- a/runsfeed +++ b/runsfeed | |||
@@ -52,13 +52,16 @@ main() { | |||
52 | log Done. | 52 | log Done. |
53 | } | 53 | } |
54 | 54 | ||
55 | update_urls() { | ||
56 | runcmd() { | 55 | runcmd() { |
57 | cmd="$(command -v "$1" || echo "./$1")" | 56 | cmd="$(command -v "$1" || echo "./$1")" |
58 | shift | 57 | shift |
59 | "$cmd" "$@" | 58 | "$cmd" "$@" |
60 | } | 59 | } |
61 | 60 | ||
61 | remove_unsubs() { | ||
62 | runcmd sfeed_unsubscribe.sh "$@" | ||
63 | } | ||
64 | |||
62 | update_urls() { | 65 | update_urls() { |
63 | runcmd sfeed_update_urls.sh "$@" | 66 | runcmd sfeed_update_urls.sh "$@" |
64 | } | 67 | } |