Adding debian-unofficial-archive-keyring to snapshots.

This commit is contained in:
Daniel Baumann 2008-04-21 10:38:07 +02:00
parent 3c5260ea4d
commit 0c694993b7
1 changed files with 20 additions and 2 deletions

View File

@ -5,7 +5,7 @@ if [ -n "${1}" ]
then then
PACKAGES="${@}" PACKAGES="${@}"
else else
PACKAGES="live-helper live-initramfs live-initscripts live-webhelper" PACKAGES="live-helper live-initramfs live-initscripts live-webhelper debian-unofficial-archive-keyring"
fi fi
DEBEMAIL="debian-live-devel@lists.alioth.debian.org" DEBEMAIL="debian-live-devel@lists.alioth.debian.org"
@ -57,10 +57,28 @@ do
# Getting sources # Getting sources
cd "${TEMPDIR}" cd "${TEMPDIR}"
git clone git://git.debian.org/git/users/daniel/${PACKAGE}.git
case "${PACKAGE}" in
debian-unofficial-archive-keyring)
git clone git://git.debian.net/git/${PACKAGE}.git
;;
*)
git clone git://git.debian.org/git/users/daniel/${PACKAGE}.git
;;
esac
# Getting version # Getting version
cd "${TEMPDIR}"/${PACKAGE} cd "${TEMPDIR}"/${PACKAGE}
for BRANCH in debian
do
if [ -n "$(git branch -r | grep ${BRANCH})" ]
then
git checkout -b ${BRANCH} origin/${BRANCH} || true
fi
done
VERSION="$(dpkg-parsechangelog | awk '/Version:/ { print $2 }' | awk -F- '{ print $1 }')" VERSION="$(dpkg-parsechangelog | awk '/Version:/ { print $2 }' | awk -F- '{ print $1 }')"
# Getting revision # Getting revision