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

Makefile

index 38927a8..8d5d624 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2003-2005 The Trustees of Princeton University
 #
-# $Id$
+# $Id: Makefile,v 1.69.4.7 2005/07/06 21:17:43 mlhuang Exp $
 #
 
 # Default target
@@ -315,10 +315,10 @@ ifneq ($(BUILDS),)
 endif
         # Populate repository
        ssh $(SERVER) mkdir -p $(ARCHIVE)/$(BASE)/RPMS $(ARCHIVE)/$(BASE)/SRPMS
-       rsync --links --perms --times --group --compress --rsh=ssh \
+       rsync --delete --links --perms --times --group --compress --rsh=ssh \
            $(sort $(subst -debuginfo,,$(wildcard RPMS/yumgroups.xml RPMS/*/*))) $(SERVER):$(ARCHIVE)/$(BASE)/RPMS/
        ssh $(SERVER) yum-arch $(ARCHIVE)/$(BASE)/RPMS >/dev/null
-       rsync --links --perms --times --group --compress --rsh=ssh \
+       rsync --delete --links --perms --times --group --compress --rsh=ssh \
            $(wildcard SRPMS/*) $(SERVER):$(ARCHIVE)/$(BASE)/SRPMS/
        ssh $(SERVER) yum-arch $(ARCHIVE)/$(BASE)/SRPMS >/dev/null
 ifeq ($(TAG),HEAD)