build-fhs-userenv-bubblewrap: symlink share directory when there's no need to merge

There's no need to copy files if the directory won't be merged with multilib one leading to unnecessary increase of closure size
This commit is contained in:
Ilya Fedin 2022-03-19 09:44:25 +04:00
parent 73ad5f9e14
commit 0f488afad2

View File

@ -172,7 +172,7 @@ let
chmod -R 755 share
cp -rLTf ${staticUsrProfileTarget}/share share
else
cp -rLf ${staticUsrProfileTarget}/share share
cp -rsHf ${staticUsrProfileTarget}/share share
fi
fi
for i in bin sbin include; do