From a998c96889dd314c8b58c39adac5747ae2cc0c72 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 25 Mar 2020 19:11:53 +0100 Subject: realwallpaper: fix fetch_older_days --- krebs/5pkgs/simple/realwallpaper/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'krebs') 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 } -- cgit v1.2.3