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

svn at pcbsd.org svn at pcbsd.org
Fri Jun 8 17:06:43 PDT 2007


Author: kris
Date: 2007-06-09 01:06:43 +0100 (Sat, 09 Jun 2007)
New Revision: 315

Modified:
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh
Log:

Forgot the magic "noschg" flags :P



Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh	2007-06-08 23:44:39 UTC (rev 314)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh	2007-06-09 00:06:43 UTC (rev 315)
@@ -31,10 +31,12 @@
 tar cvzf userdata.tgz "usr/local/share/applnk/My Programs" usr/local/share/config/kdm/kdmrc usr/local/MyPrograms Programs usr/Programs home root usr/home >/dev/null 2>/dev/null
 
 echo "Cleaning up old installation..."
+chflags -R noschg /mnt
 rm -rf usr 2>/dev/null
 rm -rf boot 2>/dev/null
 rm -rf lib 2>/dev/null
 rm -rf libexec 2>/dev/null 
+rm -rf var 2>/dev/null
 
 mv /mnt/etc/X11/XF86Config /mnt/etc/X11/XF86Config.preUpgrade 2>/dev/null
 mv /mnt/etc/X11/xorg.conf /mnt/etc/X11/xorg.conf.preUpgrade 2>/dev/null



More information about the Commits mailing list