remove '/' /var/cache/packages

This commit is contained in:
slackjeff 2021-01-28 12:49:40 -03:00 committed by GitHub
parent 521234d68f
commit fdff38c3ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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