realwallpaper: fix fetch_older_days

This commit is contained in:
lassulus 2020-03-25 19:11:53 +01:00
parent a0347a6443
commit a998c96889

View file

@ -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
}