slackpkg icon indicating copy to clipboard operation
slackpkg copied to clipboard

remove '/' /var/cache/packages

Open slackjeff opened this issue 4 years ago • 2 comments

I'm trying to fix this! this is our first step to remove '/' //var/cache/packages (laughs)

slackjeff avatar Jan 28 '21 15:01 slackjeff

Here's the trouble: are we absolutely certain that this will not cause a problem when e.g. ROOT=/somewhere (i.e. not /) because someone is running slackpkg to operate on a chroot environment?

rworkman avatar Feb 10 '21 04:02 rworkman

What about unsetting ROOT if / at the very beginning and then using ${ROOT}${ROOT:+/} instead of ${ROOT}/?

Not perfect because of subsequent ${TEMP}, though.

opty77 avatar Dec 30 '23 21:12 opty77