logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: 2577d2e70458307d7050002909e04fe5ad2c2d03
parent 070e9dacc5cb8f10a92d6af094f32006d3a0912e
Author: fosslinux <fosslinux@aussies.space>
Date:   Thu,  2 Feb 2023 15:40:26 +1100

Fix a packaging bug

Previously, symlinks to directories were followed early
in the bootstrap. This is incorrect behaviour.

While never actually encountered (hence no checksum changes),
this could be a problem.

Diffstat:

Msysa/helpers.sh3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sysa/helpers.sh b/sysa/helpers.sh @@ -22,7 +22,8 @@ get_files() { fs="${fs} $(echo .[0-z]*)" fi for f in ${fs}; do - if [ -d "${f}" ]; then + # Archive symlinks to directories as symlinks + if [ -d "${f}" ] && ! [ -h "${f}" ]; then cd "${f}" get_files "${prefix}/${f}" cd ..