realwallpaper: fix fetch_older_days
This commit is contained in:
parent
a0347a6443
commit
a998c96889
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue