[Groonga-mysql-commit] mroonga/mroonga [master] [apt][yum] delete needless local files on download.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 6月 21日 (火) 11:26:19 JST


Kouhei Sutou	2011-06-21 02:26:19 +0000 (Tue, 21 Jun 2011)

  New Revision: e45bdac35757dbd238f61b3794f16e89d7725e21

  Log:
    [apt][yum] delete needless local files on download.

  Modified files:
    apt/Makefile.am
    yum/Makefile.am

  Modified: apt/Makefile.am (+3 -2)
===================================================================
--- apt/Makefile.am    2011-06-21 02:21:25 +0000 (9678af2)
+++ apt/Makefile.am    2011-06-21 02:26:19 +0000 (53b19ff)
@@ -13,8 +13,9 @@ remove-existing-packages:
 	done
 
 download:
-	for distribution in $(DISTRIBUTIONS); do			\
-	  rsync -avz $(RSYNC_PATH)/$${distribution}/ $${distribution};	\
+	for distribution in $(DISTRIBUTIONS); do		\
+	  rsync -avz --delete					\
+	    $(RSYNC_PATH)/$${distribution}/ $${distribution};	\
 	done
 
 update:

  Modified: yum/Makefile.am (+3 -2)
===================================================================
--- yum/Makefile.am    2011-06-21 02:21:25 +0000 (ea85c17)
+++ yum/Makefile.am    2011-06-21 02:26:19 +0000 (4809667)
@@ -18,8 +18,9 @@ ensure-rsync-path:
 	fi
 
 download: ensure-rsync-path
-	for distribution in $(DISTRIBUTIONS); do			\
-	  rsync -avz $(RSYNC_PATH)/$${distribution}/ $${distribution};	\
+	for distribution in $(DISTRIBUTIONS); do		\
+	  rsync -avz --delete					\
+	    $(RSYNC_PATH)/$${distribution}/ $${distribution};	\
 	done
 
 sign:




Groonga-mysql-commit メーリングリストの案内
Back to archive index