diff --git a/files/core-functions.sh b/files/core-functions.sh index cadf1e7..5cfee65 100644 --- a/files/core-functions.sh +++ b/files/core-functions.sh @@ -896,6 +896,7 @@ function getpkg() { NAMEPKG=${PKGNAME[5]}.${PKGNAME[7]} FULLPATH=${PKGNAME[6]} CACHEPATH=${ROOT}/${TEMP}/${FULLPATH} + CACHEPATH="${CACHEPATH#/}" # Remove / in //var/log/packages # Create destination dir if it isn't there if ! [ -d $CACHEPATH ]; then