about summary refs log tree commit diff stats
path: root/runsfeed
diff options
context:
space:
mode:
authorCase Duckworth2022-07-19 13:07:46 -0500
committerCase Duckworth2022-07-19 13:07:46 -0500
commitdb65a9ac6095c0536d796e53e15abe45649a92ec (patch)
tree4d336df398907e35789df2f8680a0ed4242274d7 /runsfeed
parentAdd runcmd (diff)
downloadsfeed-db65a9ac6095c0536d796e53e15abe45649a92ec.tar.gz
sfeed-db65a9ac6095c0536d796e53e15abe45649a92ec.zip
Add unsubscribe functionality
Diffstat (limited to 'runsfeed')
-rwxr-xr-xrunsfeed5
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
55update_urls() {
56runcmd() { 55runcmd() {
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
61remove_unsubs() {
62 runcmd sfeed_unsubscribe.sh "$@"
63}
64
62update_urls() { 65update_urls() {
63 runcmd sfeed_update_urls.sh "$@" 66 runcmd sfeed_update_urls.sh "$@"
64} 67}