diff options
Diffstat (limited to 'functions/cache.sh')
-rwxr-xr-x | functions/cache.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/cache.sh b/functions/cache.sh index bea0647ca..467a67491 100755 --- a/functions/cache.sh +++ b/functions/cache.sh @@ -17,7 +17,7 @@ Restore_cache () if [ -e "${DIRECTORY}" ] then # Restore old cache - if [ "$(stat --printf %d ${DIRECTORY})" = "$(stat --printf %d chroot/var/cache/apt/archives)" ] + if [ "$(stat --printf %d ${DIRECTORY}/)" = "$(stat --printf %d chroot/var/cache/apt/archives/)" ] then # with hardlinks find "${DIRECTORY}" -name "*.deb" | xargs cp -fl -t chroot/var/cache/apt/archives |