[PC-BSD Commits] r487 - in pcbsd/trunk/system-overlay/PCBSD/Components: ports source

svn at pcbsd.org svn at pcbsd.org
Sun Jul 15 15:10:18 PDT 2007


Author: kris
Date: 2007-07-15 23:10:18 +0100 (Sun, 15 Jul 2007)
New Revision: 487

Modified:
   pcbsd/trunk/system-overlay/PCBSD/Components/ports/install.sh
   pcbsd/trunk/system-overlay/PCBSD/Components/source/install.sh
Log:

Fixed crash in add / remove programs tool, with too much output from TAR.

Also updated file name for source install



Modified: pcbsd/trunk/system-overlay/PCBSD/Components/ports/install.sh
===================================================================
--- pcbsd/trunk/system-overlay/PCBSD/Components/ports/install.sh	2007-07-15 21:58:33 UTC (rev 486)
+++ pcbsd/trunk/system-overlay/PCBSD/Components/ports/install.sh	2007-07-15 22:10:18 UTC (rev 487)
@@ -71,7 +71,7 @@
 
      mkdir /usr/ports
      cd /usr/ports
-     tar xvjf ${LOC}
+     tar xvjf ${LOC} 2>/dev/null
      if [ "$?" = "0" ]
      then
        exit 0
@@ -85,7 +85,7 @@
 
 mkdir /usr/ports
 cd /usr/ports
-tar xvjf ${MNTLOC}/${PACKAGE}
+tar xvjf ${MNTLOC}/${PACKAGE} 2>/dev/null
 if [ "$?" = "0" ]
 then
   cd /

Modified: pcbsd/trunk/system-overlay/PCBSD/Components/source/install.sh
===================================================================
--- pcbsd/trunk/system-overlay/PCBSD/Components/source/install.sh	2007-07-15 21:58:33 UTC (rev 486)
+++ pcbsd/trunk/system-overlay/PCBSD/Components/source/install.sh	2007-07-15 22:10:18 UTC (rev 487)
@@ -6,7 +6,7 @@
 
 CDMNT="/tmp/pcbsdcdmnt"
 MNTLOC=""
-PACKAGE="src.tbz"
+PACKAGE="source.tbz"
 
 # Start install
 #############################################################################
@@ -71,7 +71,7 @@
 
      mkdir /usr/src
      cd /usr/src
-     tar xvjf ${LOC}
+     tar xvjf ${LOC} 2>/dev/null
      if [ "$?" = "0" ]
      then
        exit 0
@@ -85,7 +85,7 @@
 
 mkdir /usr/src
 cd /usr/src
-tar xvjf ${MNTLOC}/${PACKAGE}
+tar xvjf ${MNTLOC}/${PACKAGE} 2>/dev/null
 if [ "$?" = "0" ]
 then
   cd /



More information about the Commits mailing list