From 7ecea8c14403b305a491d9af71e2b7da041abd83 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 5 Mar 2011 18:40:06 +0100 Subject: relpkg: copy timestamp; remove old packages Signed-off-by: Florian Pritz --- relpkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'relpkg') diff --git a/relpkg b/relpkg index cb6cdc4..21b088d 100755 --- a/relpkg +++ b/relpkg @@ -36,7 +36,7 @@ for _dir in $_dirs; do warn "$pkgfile doesn't exist" continue fi - rsync --partial --progress "$pkgfile" "$user@$host://$repodir/$_arch/$pkgfile" + rsync -t --partial --progress "$pkgfile" "$user@$host://$repodir/$_arch/$pkgfile" if [[ $_arch == "any" ]]; then for _arch in ${all_arches[@]}; do ssh "$user@$host" "ln -sf ../any/$pkgfile $repodir/$_arch/$pkgfile" @@ -47,5 +47,5 @@ for _dir in $_dirs; do fi done - #ssh "$user@$host" "$repodir/bin/clean_pkg_name" "$pkgname" + ssh "$user@$host" "$repodir/bin/clean_pkg_name" "$pkgname" done -- cgit v1.2.3-24-g4f1b