diff options
author | Jesse Luehrs <doy@tozt.net> | 2024-02-23 02:47:29 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2024-02-23 02:47:29 -0500 |
commit | 1eb05e539ec54f404ae7367ba12233bbfebfdbf9 (patch) | |
tree | a66d4267ab803789e215efaf8747fba404b0c506 /local/.bin/hornet/update-weather | |
parent | 8a0e22d68add0ac8f6c488e73c22cf66fb78f12b (diff) | |
download | conf-1eb05e539ec54f404ae7367ba12233bbfebfdbf9.tar.gz conf-1eb05e539ec54f404ae7367ba12233bbfebfdbf9.zip |
convert update-weather to systemd
Diffstat (limited to 'local/.bin/hornet/update-weather')
-rwxr-xr-x | local/.bin/hornet/update-weather | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/local/.bin/hornet/update-weather b/local/.bin/hornet/update-weather index fad6ff7..fb8afca 100755 --- a/local/.bin/hornet/update-weather +++ b/local/.bin/hornet/update-weather @@ -2,5 +2,6 @@ set -eu set -o pipefail -weather >~/.cache/weather.new +echo "updating weather..." +"$(dirname "$0")"/weather >~/.cache/weather.new mv ~/.cache/weather.new ~/.cache/weather |