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

svn at pcbsd.org svn at pcbsd.org
Wed Jun 4 07:08:48 PDT 2008


Author: melkor
Date: 2008-06-04 07:08:47 -0700 (Wed, 04 Jun 2008)
New Revision: 2020

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

Some scripts parametrization


Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.Config
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.Config	2008-06-03 18:27:52 UTC (rev 2019)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.Config	2008-06-04 14:08:47 UTC (rev 2020)
@@ -9,6 +9,8 @@
 FC_LZMA="${CDMNT}/${LZMA_FILE}"
 FC_LZMA2="${CDMNT}/${LZMA_FILE2}"
 FC_UZIP="${UZIPDIR}/${UZIP_FILE}"
+LZMA_CMD="lzma -d -c"
 
 
 
+

Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.InstallCD1.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.InstallCD1.sh	2008-06-03 18:27:52 UTC (rev 2019)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.InstallCD1.sh	2008-06-04 14:08:47 UTC (rev 2020)
@@ -14,7 +14,7 @@
 LC_CTYPE="" ; export LC_CTYPE
 LC_COLLATE="" ; export LC_COLLATE
 
-lzma -d -c ${FC_LZMA} | tar -xpvf - >&1 2>&1
+${LZMA_CMD} ${FC_LZMA} | tar -xpvf - >&1 2>&1
 if [ "$?" != "0" ]
 then
   exit 1

Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.InstallCD2.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.InstallCD2.sh	2008-06-03 18:27:52 UTC (rev 2019)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.InstallCD2.sh	2008-06-04 14:08:47 UTC (rev 2020)
@@ -16,7 +16,7 @@
 LC_CTYPE="" ; export LC_CTYPE
 LC_COLLATE="" ; export LC_COLLATE
 
-lzma -d -c ${FC_LZMA2} | tar -xpvf - >&1 2>&1
+${LZMA_CMD} ${FC_LZMA2} | tar -xpvf - >&1 2>&1
 if [ "$?" != "0" ]
 then
   exit 1

Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh	2008-06-03 18:27:52 UTC (rev 2019)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh	2008-06-04 14:08:47 UTC (rev 2020)
@@ -95,7 +95,7 @@
 LANGOLD="$LANG"
 LANG=""
 
-lzma -d -c ${FC_LZMA}  | tar xvp -X /usr/local/pcbsd/scripts/excUpgrade -f - >&1 2>&1
+${LZMA_CMD} ${FC_LZMA}  | tar xvp -X /usr/local/pcbsd/scripts/excUpgrade -f - >&1 2>&1
 
 #Reset LANG
 LANG="$LANGOLD"



More information about the Commits mailing list