[PC-BSD Commits] r2313 - pcbsd/trunk/mfsroot-overlay/etc

svn at pcbsd.org svn at pcbsd.org
Thu Jul 10 09:26:17 PDT 2008


Author: kris
Date: 2008-07-10 09:26:17 -0700 (Thu, 10 Jul 2008)
New Revision: 2313

Modified:
   pcbsd/trunk/mfsroot-overlay/etc/IntegrityCheck.sh
Log:

Update the Integrity check to skip the lzma file if it is not on the CD



Modified: pcbsd/trunk/mfsroot-overlay/etc/IntegrityCheck.sh
===================================================================
--- pcbsd/trunk/mfsroot-overlay/etc/IntegrityCheck.sh	2008-07-10 15:47:53 UTC (rev 2312)
+++ pcbsd/trunk/mfsroot-overlay/etc/IntegrityCheck.sh	2008-07-10 16:26:17 UTC (rev 2313)
@@ -18,6 +18,10 @@
  echo "OK"
 fi
 
+
+# Check if we have an install image to check and prompt
+if [ -e "/mnt/PCBSD.tar.lzma" ]
+
 echo -e "Check integrity of installer archive?\n This may take several minutes. [y]:\c"
 read -t15s response
 
@@ -34,3 +38,5 @@
   echo "OK"
  fi
 fi
+
+fi # End of PCBSD.tar.lzma check



More information about the Commits mailing list