Navigation Menu

Skip to content

Commit

Permalink
[apt][yum] delete needless local files on download.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 21, 2011
1 parent 505168a commit e45bdac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions apt/Makefile.am
Expand Up @@ -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:
Expand Down
5 changes: 3 additions & 2 deletions yum/Makefile.am
Expand Up @@ -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:
Expand Down

0 comments on commit e45bdac

Please sign in to comment.