summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@server-speed.net>2011-03-05 18:40:06 +0100
committerFlorian Pritz <bluewind@server-speed.net>2011-03-05 18:40:06 +0100
commit7ecea8c14403b305a491d9af71e2b7da041abd83 (patch)
treeecd8d6f4f100690145febb16a2a24859940dc7fa
parent563c7bc51875dadf5caf85487e6844bb4abad4c0 (diff)
downloadbin-7ecea8c14403b305a491d9af71e2b7da041abd83.tar.gz
bin-7ecea8c14403b305a491d9af71e2b7da041abd83.tar.xz
relpkg: copy timestamp; remove old packages
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
-rwxr-xr-xrelpkg4
1 files changed, 2 insertions, 2 deletions
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