summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/cache.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/cache.sh b/functions/cache.sh
index 1b043681d..5493471a6 100755
--- a/functions/cache.sh
+++ b/functions/cache.sh
@@ -48,7 +48,7 @@ Save_cache ()
if [ "$(stat --printf %d ${DIRECTORY})" = "$(stat --printf %d chroot/var/cache/apt/archives)" ]
then
# with hardlinks
- cp --force -l chroot/var/cache/apt/archives/*.deb "${DIRECTORY}"
+ cp -fl chroot/var/cache/apt/archives/*.deb "${DIRECTORY}"
else
# without hardlinks
mv -f chroot/var/cache/apt/archives/*.deb "${DIRECTORY}"