diff --git a/cdist/conf/type/__package_apt/explorer/index b/cdist/conf/type/__package_apt/explorer/index index 58215eff..af18d503 100644 --- a/cdist/conf/type/__package_apt/explorer/index +++ b/cdist/conf/type/__package_apt/explorer/index @@ -1,7 +1,7 @@ #!/bin/sh -e if [ ! -d /var/lib/apt/lists ] \ - || [ -n "$( find /etc/apt -mindepth 1 -cnewer /var/lib/apt/lists )" ] \ + || [ -n "$( find /etc/apt -newer /var/lib/apt/lists )" ] \ || [ ! -f /var/cache/apt/pkgcache.bin ] \ || [ "$( stat --format %Y /var/cache/apt/pkgcache.bin )" -lt "$( date +%s -d '-1 day' )" ] then