- merge revision 1.4
authorMark Huang <mlhuang@cs.princeton.edu>
Thu, 14 Jul 2005 18:18:05 +0000 (18:18 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Thu, 14 Jul 2005 18:18:05 +0000 (18:18 +0000)
date: 2005/07/14 18:13:43;  author: mlhuang;  state: Exp;  lines: +2 -2
- delete stale RPMs when installing

plc.mk

diff --git a/plc.mk b/plc.mk
index ac6ebd5..935347b 100644 (file)
--- a/plc.mk
+++ b/plc.mk
@@ -4,7 +4,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2003-2005 The Trustees of Princeton University
 #
-# $Id$
+# $Id: plc.mk,v 1.2.2.8 2005/06/28 16:55:21 mlhuang Exp $
 #
 
 # Default target
@@ -128,7 +128,7 @@ ifneq ($(BUILDS),)
 endif
         # Populate repository
        mkdir -p $(ARCHIVE)/$(BASE)
-       rsync --links --perms --times --group \
+       rsync --delete --links --perms --times --group \
            $(sort $(subst -debuginfo,,$(wildcard RPMS/yumgroups.xml RPMS/*/*))) $(ARCHIVE)/$(BASE)/
        yum-arch $(ARCHIVE)/$(BASE) >/dev/null
 ifeq ($(TAG),HEAD)