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

svn at pcbsd.org svn at pcbsd.org
Fri Aug 10 17:35:21 PDT 2007


Author: kris
Date: 2007-08-10 17:35:21 -0700 (Fri, 10 Aug 2007)
New Revision: 589

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

Scripts work, added cleanup of temporary files with link info in them. 



Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh	2007-08-10 22:14:47 UTC (rev 588)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh	2007-08-11 00:35:21 UTC (rev 589)
@@ -44,6 +44,7 @@
 echo "Searching for PBI created links..."
 /usr/local/pcbsd/scripts/PCBSD.UpgradeFindLinks.sh >/mnt/saveLinks
 tar cvf /mnt/tmp/links.tar -T /mnt/saveLinks >/dev/null 2>/dev/null
+rm /mnt/saveLinks >/dev/null 2>/dev/null 
 
 
 echo "Cleaning up old installation..."
@@ -75,7 +76,6 @@
 #Reset LANG
 LANG="$LANGOLD"
 
-#echo "............";
 cp f /usr/local/pcbsd/LANGS/* /mnt/PCBSD/LANGS/ >/dev/null
 
 # Restore old data

Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.UpgradeFindLinks.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.UpgradeFindLinks.sh	2007-08-10 22:14:47 UTC (rev 588)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.UpgradeFindLinks.sh	2007-08-11 00:35:21 UTC (rev 589)
@@ -31,3 +31,4 @@
 
 done < /mnt/link-listing
 
+rm /mnt/link-listing



More information about the Commits mailing list