diff options
author | lassulus <lassulus@lassul.us> | 2020-03-25 19:11:53 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2020-03-25 19:11:53 +0100 |
commit | a998c96889dd314c8b58c39adac5747ae2cc0c72 (patch) | |
tree | 474175ef1bcd755c430c86cae6c2846ede7b5048 | |
parent | a0347a6443ac07bbb986080dafe44af4a25e0f98 (diff) |
realwallpaper: fix fetch_older_days
-rw-r--r-- | krebs/5pkgs/simple/realwallpaper/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/5pkgs/simple/realwallpaper/default.nix b/krebs/5pkgs/simple/realwallpaper/default.nix index 1dd5e00e8..ce0c6067e 100644 --- a/krebs/5pkgs/simple/realwallpaper/default.nix +++ b/krebs/5pkgs/simple/realwallpaper/default.nix @@ -37,7 +37,7 @@ pkgs.writers.writeDashBin "generate-wallpaper" '' days=$1 name=$2 url=$3 - if ! test "$(find $name -mmin -$days)"; then + if ! test "$(find $name -mtime -$days)"; then fetch "$name" "$url" fi } |