diff options
Diffstat (limited to 'librerelease')
-rwxr-xr-x | librerelease | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/librerelease b/librerelease index c6ceb14..8b8f5c8 100755 --- a/librerelease +++ b/librerelease @@ -61,18 +61,16 @@ if [ -e ~/.makepkg.conf ]; then source ~/.makepkg.conf; fi PKGDEST=${PKGDEST:-.} SRCPKGDEST=${SRCPKGDEST:-.} - # Init the batchfile to_sftp "progress" -# Move out the old packages - for _arch in ${arch[@]}; do for pkg in ${pkgname[@]}; do pkgfile="$PKGDEST/$pkg-$pkgver-$pkgrel-$_arch$PKGEXT" if [ -e "$pkgfile" ]; then +# Move out the old packages # This has to be moved to repo-maintainer - ssh parabola mv ${PARABOLAHOST}/$repo/os/$_arch/$pkg-*-*-$_arch$PKGEXT ${LIBREDESTDIR}/old/ + ssh ${PARABOLAHOST} mv ${LIBREDESTDIR}/$repo/os/$_arch/$pkg-*-*-$_arch$PKGEXT ${LIBREDESTDIR}/old/ to_sftp "put $pkgfile ${LIBREDESTDIR}/$repo/os/$_arch/" fi |