summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/realwallpaper/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/5pkgs/simple/realwallpaper/default.nix')
-rw-r--r--krebs/5pkgs/simple/realwallpaper/default.nix2
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
}