[PC-BSD Commits] r1828 - pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts

svn at pcbsd.org svn at pcbsd.org
Mon May 5 10:36:27 PDT 2008


Author: tim
Date: 2008-05-05 10:36:27 -0700 (Mon, 05 May 2008)
New Revision: 1828

Modified:
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh
Log:
Remove the supfile the system manager uses during an upgrade. Otherwise future source code downloads may fail, or worse may download sourcecode for the wrong FreeBSD version!

Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh	2008-05-05 17:21:43 UTC (rev 1827)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh	2008-05-05 17:36:27 UTC (rev 1828)
@@ -66,6 +66,8 @@
  esac
 done
 
+# Remove additional special files
+rm -f /root/standard-supfile 2>/dev/null
 
 # Move back the local/etc directory so it gets saved / upgraded
 mkdir -p /mnt/usr/local



More information about the Commits mailing list