FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Development

 
 
LinkBack Thread Tools
 
Old 04-01-2011, 09:35 PM
Dan McGee
 
Default commitpkg: upload signatures if available

Signed-off-by: Dan McGee <dan@archlinux.org>
---
commitpkg | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/commitpkg b/commitpkg
index ed2254c..a0a5628 100755
--- a/commitpkg
+++ b/commitpkg
@@ -129,12 +129,17 @@ for _arch in ${arch[@]}; do
continue 2
fi
uploads+=("$pkgfile")
+
+ sigfile="${pkgfile}.sig"
+ if [ -f "${sigfile}" ]; then
+ uploads+=("$sigfile")
+ fi
done
archrelease $repo-${_arch} || abort
done

if [[ ${#uploads[*]} -gt 0 ]]; then
- echo 'uploading all package files'
+ echo 'uploading all package and signature files'
rsync $rsyncopts "${uploads[@]}" "$server:staging/$repo/" || abort
fi

--
1.7.4.2
 

Thread Tools




All times are GMT. The time now is 07:00 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org