[SCM] debian-live/live-helper branch, master, updated. 1.0_a44-1-23-ga9af0b6
Daniel Baumann
daniel at debian.org
Mon Apr 21 08:42:33 UTC 2008
The following commit has been merged in the master branch:
commit 0c694993b75fcebb3dc1e3bb549eca0549f0d912
Author: Daniel Baumann <daniel at debian.org>
Date: Mon Apr 21 10:38:07 2008 +0200
Adding debian-unofficial-archive-keyring to snapshots.
diff --git a/examples/cron/snapshots.sh b/examples/cron/snapshots.sh
index 10e0a43..bfd25b3 100755
--- a/examples/cron/snapshots.sh
+++ b/examples/cron/snapshots.sh
@@ -5,7 +5,7 @@ if [ -n "${1}" ]
then
PACKAGES="${@}"
else
- PACKAGES="live-helper live-initramfs live-initscripts live-webhelper"
+ PACKAGES="live-helper live-initramfs live-initscripts live-webhelper debian-unofficial-archive-keyring"
fi
DEBEMAIL="debian-live-devel at lists.alioth.debian.org"
@@ -57,10 +57,28 @@ do
# Getting sources
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
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 }')"
# Getting revision
--
debian-live/live-helper
More information about the debian-live-changes
mailing list