diff options
author | Florian Pritz <bluewind@server-speed.net> | 2011-03-05 18:40:06 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@server-speed.net> | 2011-03-05 18:40:06 +0100 |
commit | 7ecea8c14403b305a491d9af71e2b7da041abd83 (patch) | |
tree | ecd8d6f4f100690145febb16a2a24859940dc7fa /relpkg | |
parent | 563c7bc51875dadf5caf85487e6844bb4abad4c0 (diff) | |
download | bin-7ecea8c14403b305a491d9af71e2b7da041abd83.tar.gz bin-7ecea8c14403b305a491d9af71e2b7da041abd83.tar.xz |
relpkg: copy timestamp; remove old packages
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
Diffstat (limited to 'relpkg')
-rwxr-xr-x | relpkg | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |