buildFHSEnv: don't include /var

This mostly prevents random junk from leaking into fhsenvs,
but also fixes Steam not having a /var anymore.
This commit is contained in:
K900 2024-10-16 10:43:42 +03:00
parent ea2a73f1ad
commit 50d782b1ff

View File

@ -245,7 +245,7 @@ let
done
cd ..
for i in var etc opt; do
for i in etc opt; do
if [ -d "${staticUsrProfileTarget}/$i" ]; then
cp -rsHf "${staticUsrProfileTarget}/$i" "$i"
fi