diff options
Diffstat (limited to 'functions')
-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 79a8b6893..42d45d63a 100755 --- a/functions/cache.sh +++ b/functions/cache.sh @@ -14,7 +14,7 @@ Restore_cache () if [ "${LB_CACHE}" = "true" ] && [ "${LB_CACHE_PACKAGES}" = "true" ] then - if [ -d "${DIRECTORY}" ] + if [ -e "${DIRECTORY}" ] then # Restore old cache if [ "$(stat --printf %d ${DIRECTORY})" = "$(stat --printf %d chroot/var/cache/apt/archives)" ] |