[PC-BSD Commits] r7891 - in pcbsd/current/system-overlay/usr/PCBSD: . SystemUpdater/bin

svn at pcbsd.org svn at pcbsd.org
Mon Oct 25 10:58:28 PDT 2010


Author: kris
Date: 2010-10-25 10:58:28 -0700 (Mon, 25 Oct 2010)
New Revision: 7891

Removed:
   pcbsd/current/system-overlay/usr/PCBSD/tmp/
Modified:
   pcbsd/current/system-overlay/usr/PCBSD/SystemUpdater/bin/checkStartup.sh
   pcbsd/current/system-overlay/usr/PCBSD/SystemUpdater/bin/downloadSysUpdates.sh
Log:

Removed empty PCBSD/Scripts and PCBSD/tmp dirs, update some updater scripts to use /tmp directly



Modified: pcbsd/current/system-overlay/usr/PCBSD/SystemUpdater/bin/checkStartup.sh
===================================================================
--- pcbsd/current/system-overlay/usr/PCBSD/SystemUpdater/bin/checkStartup.sh	2010-10-25 17:52:39 UTC (rev 7890)
+++ pcbsd/current/system-overlay/usr/PCBSD/SystemUpdater/bin/checkStartup.sh	2010-10-25 17:58:28 UTC (rev 7891)
@@ -3,9 +3,9 @@
 ############################################################
 
 # If an old trigger file exists, delete it
-if [ -e "/PCBSD/tmp/.sysupdatetraytrigger" ]
+if [ -e "/tmp/.sysupdatetraytrigger" ]
 then
-  rm /PCBSD/tmp/.sysupdatetraytrigger
+  rm /tmp/.sysupdatetraytrigger
 fi
 
 # First, check if we've enabled auto-updates

Modified: pcbsd/current/system-overlay/usr/PCBSD/SystemUpdater/bin/downloadSysUpdates.sh
===================================================================
--- pcbsd/current/system-overlay/usr/PCBSD/SystemUpdater/bin/downloadSysUpdates.sh	2010-10-25 17:52:39 UTC (rev 7890)
+++ pcbsd/current/system-overlay/usr/PCBSD/SystemUpdater/bin/downloadSysUpdates.sh	2010-10-25 17:58:28 UTC (rev 7891)
@@ -19,7 +19,7 @@
 PATCHSET="`cat ${UPDATECONF} | grep '^PATCHSET:' | cut -d ' ' -f 2`"
 PATCHFILE="patch-${PATCHSET}-${SYSVER}-${ARCH}.tgz"
 PATCHURL="${PATCHSERVER}/${PATCHFILE}"
-PATCHTMPDIR=`mktemp -d /PCBSD/tmp/.sysupdateXXXXXX`
+PATCHTMPDIR=`mktemp -d /tmp/.sysupdateXXXXXX`
 PATCHTMPFILE="${PATCHTMPDIR}/sysupdate-${SYSVER}.tgz"
 
 # Download directory for updates



More information about the Commits mailing list