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

svn at pcbsd.org svn at pcbsd.org
Wed Dec 5 07:37:42 PST 2007


Author: kris
Date: 2007-12-05 07:37:42 -0800 (Wed, 05 Dec 2007)
New Revision: 951

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

Fixed the upgrade script to save the locale directory, so PBI's dont lose
their i18n data



Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh	2007-12-05 15:06:18 UTC (rev 950)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh	2007-12-05 15:37:42 UTC (rev 951)
@@ -37,6 +37,7 @@
 mv /mnt/Programs /mnt/tmp/upgradebackup/
 mv /mnt/home /mnt/tmp/upgradebackup/home
 mv /mnt/root /mnt/tmp/upgradebackup/root
+mv /mnt/usr/local/share/locale /mnt/tmp/upgradebackup/locale
 
 
 # Search for any links that PBIs may have created
@@ -75,11 +76,13 @@
 rm /mnt/var/run/denyhosts.pid
 
 # Move back the applnk directory
-mkdir -p /mnt/usr/local/share
+mkdir -p /mnt/usr/local/share/locale
 chmod 755 /mnt/usr
 chmod 755 /mnt/usr/local
 chmod 755 /mnt/usr/local/share
+chmod 755 /mnt/usr/local/share/locale
 mv -f /mnt/tmp/upgradebackup/applnk /mnt/usr/local/share/applnk
+mv -f /mnt/tmp/upgradebackup/locale /mnt/usr/local/share/locale
 
 # Start the Tar Extraction now
 



More information about the Commits mailing list