slackpkg
slackpkg copied to clipboard
remove '/' /var/cache/packages
I'm trying to fix this! this is our first step to remove '/' //var/cache/packages (laughs)
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?
What about unsetting ROOT
if /
at the very beginning and then using ${ROOT}${ROOT:+/}
instead of ${ROOT}/
?
Not perfect because of subsequent ${TEMP}
, though.