mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not overwrite 0 sized bianries during cvssync
Reported-by: BillM
This commit is contained in:
parent
60089505e9
commit
3a77a392d7
@ -108,6 +108,9 @@ exec("rm -rf ${CODIR}/pfSense/root/.shrc");
|
||||
exec("rm -rf ${CODIR}/pfSense/root/.tcshrc");
|
||||
exec("rm -f ${CODIR}/pfSense/etc/syslog.conf 2>/dev/null");
|
||||
|
||||
echo "Finding zero byte files (binaries)..."
|
||||
find $CODIR/pfSense -perm -+x -type f -size 0 -exec rm {} \;
|
||||
|
||||
echo "Installing new files...\n";
|
||||
|
||||
exec("cd $CODIR/pfSense ; tar -cpf - . | (cd / ; tar -Uxpf -)");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user