[PC-BSD Commits] r20753 - in pcbsd/current/overlays: desktop-overlay/usr/local/share/pcbsd/scripts server-overlay/usr/local/share/pcbsd/scripts

svn at pcbsd.org svn at pcbsd.org
Fri Dec 21 12:27:47 PST 2012


Author: kris
Date: 2012-12-21 20:27:47 +0000 (Fri, 21 Dec 2012)
New Revision: 20753

Modified:
   pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/scripts/extract-overlay.sh
   pcbsd/current/overlays/server-overlay/usr/local/share/pcbsd/scripts/extract-overlay.sh
Log:

Cleanup extract overlay script



Modified: pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/scripts/extract-overlay.sh
===================================================================
--- pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/scripts/extract-overlay.sh	2012-12-21 20:13:46 UTC (rev 20752)
+++ pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/scripts/extract-overlay.sh	2012-12-21 20:27:47 UTC (rev 20753)
@@ -3,10 +3,7 @@
 distFile="/usr/local/share/pcbsd/distfiles/overlay.txz"
 excludeFile="/usr/local/share/pcbsd/conf/dist-excludes"
 
-echo "Using excludes..."
-cat $excludeFile
-
 echo "Extracting overlay data..."
 cd /
-tar xvmf ${distFile} -X ${excludeFile} #2>/dev/null
+tar xvmf ${distFile} -X ${excludeFile} 2>/dev/null
 exit $?

Modified: pcbsd/current/overlays/server-overlay/usr/local/share/pcbsd/scripts/extract-overlay.sh
===================================================================
--- pcbsd/current/overlays/server-overlay/usr/local/share/pcbsd/scripts/extract-overlay.sh	2012-12-21 20:13:46 UTC (rev 20752)
+++ pcbsd/current/overlays/server-overlay/usr/local/share/pcbsd/scripts/extract-overlay.sh	2012-12-21 20:27:47 UTC (rev 20753)
@@ -4,5 +4,6 @@
 excludeFile="/usr/local/share/pcbsd/conf/dist-excludes"
 
 echo "Extracting overlay data..."
-tar xvmf ${distFile} -X ${excludeFile} -C / #2>/dev/null
+cd /
+tar xvmf ${distFile} -X ${excludeFile} 2>/dev/null
 exit $?



More information about the Commits mailing list