summaryrefslogtreecommitdiffstats
path: root/local/.bin/hornet/update-weather
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2024-02-23 02:47:29 -0500
committerJesse Luehrs <doy@tozt.net>2024-02-23 02:47:29 -0500
commit1eb05e539ec54f404ae7367ba12233bbfebfdbf9 (patch)
treea66d4267ab803789e215efaf8747fba404b0c506 /local/.bin/hornet/update-weather
parent8a0e22d68add0ac8f6c488e73c22cf66fb78f12b (diff)
downloadconf-1eb05e539ec54f404ae7367ba12233bbfebfdbf9.tar.gz
conf-1eb05e539ec54f404ae7367ba12233bbfebfdbf9.zip
convert update-weather to systemd
Diffstat (limited to 'local/.bin/hornet/update-weather')
-rwxr-xr-xlocal/.bin/hornet/update-weather3
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