mirror of
https://github.com/rworkman/slackpkg
synced 2024-12-25 21:58:42 +01:00
remove '/' /var/cache/packages
This commit is contained in:
parent
521234d68f
commit
fdff38c3ca
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue