Introduction
Introduction Statistics Contact Development Disclaimer Help
sfeedreload - sfeed-tools - Sfeed helper scripts.
git clone git://bitreich.org/sfeed-tools git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfr…
Log
Files
Refs
Tags
README
---
sfeedreload (352B)
---
1 #!/bin/sh
2 # Update sfeed and reload sfeed_curses. Good for use in crontab.
3
4 feeds="$HOME/.sfeed/feeds"
5 if ! command -v sfeed_update >/dev/null; then
6 printf '%s: sfeed_update not found\n' "${0##*/}" >&2
7 exit 1
8 fi
9
10 [ -d "$feeds" ] || mkdir -p "$feeds"
11
12 sfeed_update
13 ret=$?
14 pgrep -x sfeed_curses >/dev/null && pkill -SIGHUP sfeed_curses
15 exit $ret
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.