From 4ee78d3b4a1a5bb911994c9fd1458b0aafc44a17 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Thu, 8 Feb 2007 16:05:45 +0000 Subject: [PATCH] - only update node package repository if running on boot server --- plc.d/packages | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plc.d/packages b/plc.d/packages index dab7fca..453f9c6 100755 --- a/plc.d/packages +++ b/plc.d/packages @@ -7,7 +7,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: packages,v 1.6 2007/01/30 15:56:53 thierry Exp $ +# $Id: packages,v 1.7 2007/02/04 01:05:28 mlhuang Exp $ # # Source function library and configuration @@ -19,6 +19,10 @@ set -x case "$1" in start) + if [ "$PLC_BOOT_ENABLED" != "1" ] ; then + exit 0 + fi + MESSAGE=$"Signing and indexing node packages" dialog "$MESSAGE" -- 2.43.0