the expr translates roughly to "(exists and not empty) or not exists"; so any requirement collection done previously which results in a non empty requirements file, will make [ -s ... ] pass and the default requirements file gets copied over.
I assume the goal was "not exists or empty", so i propose [ ! -f ... ] || [ ! -s ... ]
the entrypoint script does not properly install plugin requirements
the culprit is
[ -s ... ] || [ ! -f ... ]
(entrypoint.sh:255)the expr translates roughly to "(exists and not empty) or not exists"; so any requirement collection done previously which results in a non empty requirements file, will make
[ -s ... ]
pass and the default requirements file gets copied over.I assume the goal was "not exists or empty", so i propose
[ ! -f ... ] || [ ! -s ... ]
I'll sketch-up a PR in a moment