[PC-BSD Commits] r2474 - pcbsd/trunk/installcd-overlay/usr/local/pcbsd/Components/k3b

svn at pcbsd.org svn at pcbsd.org
Tue Jul 29 06:26:41 PDT 2008


Author: kris
Date: 2008-07-29 06:26:41 -0700 (Tue, 29 Jul 2008)
New Revision: 2474

Modified:
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/Components/k3b/install.sh
Log:

Updated the installer for the k3b PBI



Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/Components/k3b/install.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/Components/k3b/install.sh	2008-07-29 13:21:57 UTC (rev 2473)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/Components/k3b/install.sh	2008-07-29 13:26:41 UTC (rev 2474)
@@ -1,11 +1,23 @@
 #!/bin/sh
-# This script installs the OpenOffice PBI
+# This script installs the K3B PBI
+
+# Configuration file
+. /usr/local/pcbsd/scripts/PCBSD.Config
+
 DISPLAY=""; export DISPLAY
 
 mkdir -p /mnt/tmp/components
 
-cp /cdmnt/PBI/K3B* /mnt/tmp/components/
+# If we are on a network connection
+if [ -e "/tmp/networkURL" ]
+then
+  cd ${FSMNT}/tmp/components
+  ${FETCHCMD} ${NETPATH}/PBI/${K3BPBI}
+else
+  cp /cdmnt/PBI/${K3BPBI} /mnt/tmp/components/
+fi
 
+
 # Make our install script
 echo '#!/bin/sh
 ls /Programs/K3B* >/dev/null 2>/dev/null



More information about the Commits mailing list