freebsd-update: Do not fsync

Fsyncing each file we install slows us down significantly and adds
little to no safety.

MFC after:	1 week
PR:		287897
This commit is contained in:
Dag-Erling Smørgrav
2025-08-15 20:04:15 +02:00
parent ef8f3e9131
commit 20f0996700
+1 -1
View File
@@ -3000,7 +3000,7 @@ install_from_index () {
if [ -z "${LINK}" ]; then
# Create a file, without setting flags.
gunzip < files/${HASH}.gz > ${HASH}
install -S -o ${OWNER} -g ${GROUP} \
install -o ${OWNER} -g ${GROUP} \
-m ${PERM} ${HASH} ${BASEDIR}/${FPATH}
rm ${HASH}
else