[PC-BSD Commits] r6430 - pcbsd/trunk/SoftwareManager

svn at pcbsd.org svn at pcbsd.org
Mon Mar 22 11:11:17 PDT 2010


Author: kris
Date: 2010-03-22 11:11:17 -0700 (Mon, 22 Mar 2010)
New Revision: 6430

Modified:
   pcbsd/trunk/SoftwareManager/softmanager-sysupdate.cpp
Log:

Insert a sleep time before testing md5 of a patch, some FS operations take a little bit longer to finish up



Modified: pcbsd/trunk/SoftwareManager/softmanager-sysupdate.cpp
===================================================================
--- pcbsd/trunk/SoftwareManager/softmanager-sysupdate.cpp	2010-03-22 18:10:40 UTC (rev 6429)
+++ pcbsd/trunk/SoftwareManager/softmanager-sysupdate.cpp	2010-03-22 18:11:17 UTC (rev 6430)
@@ -767,6 +767,7 @@
     QFile file4( customTmpDir + "/.syschecksum.sh" );
     if ( file4.open( QIODevice::WriteOnly ) ) {
         QTextStream stream4( &file4 );
+        stream4 << "sleep 15\n";
         stream4 << "cat '" + customTmpDir + "/patch" + tmp.setNum(currentSysWorkingItem) + ".lzma' | md5 >&1";
         file4.close();
     }



More information about the Commits mailing list