mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-09 07:51:28 +00:00
- Skip security repo for Debian unstable, thanks to Ryan Niebur
- Change directory out of the way of schroot problems. * grab-merge: - Show an error message if the package doesn't exist. - Be paraonic and add "--one-file-system" to the rm call. - Delete the directory just after creating it if the package doesn't exist.
This commit is contained in:
parent
25488361a5
commit
dc4750eb91
14
debian/changelog
vendored
14
debian/changelog
vendored
@ -1,11 +1,19 @@
|
|||||||
ubuntu-dev-tools (0.74) UNRELEASED; urgency=low
|
ubuntu-dev-tools (0.74) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
[ Kees Cook ]
|
||||||
* mk-sbuild-lv:
|
* mk-sbuild-lv:
|
||||||
- skip security repo for Debian unstable, thanks to Ryan Niebur
|
- Skip security repo for Debian unstable, thanks to Ryan Niebur
|
||||||
(LP: #371569).
|
(LP: #371569).
|
||||||
- change directory out of the way of schroot problems.
|
- Change directory out of the way of schroot problems.
|
||||||
|
|
||||||
-- Kees Cook <kees@ubuntu.com> Mon, 04 May 2009 09:11:42 -0700
|
[ Siegfried-Angel Gevatter Pujals ]
|
||||||
|
* grab-merge:
|
||||||
|
- Show an error message if the package doesn't exist.
|
||||||
|
- Be paraonic and add "--one-file-system" to the rm call.
|
||||||
|
- Delete the directory just after creating it if the package
|
||||||
|
doesn't exist.
|
||||||
|
|
||||||
|
-- Siegfried-Angel Gevatter Pujals <rainct@ubuntu.com> Wed, 06 May 2009 23:14:33 +0200
|
||||||
|
|
||||||
ubuntu-dev-tools (0.73) karmic; urgency=low
|
ubuntu-dev-tools (0.73) karmic; urgency=low
|
||||||
|
|
||||||
|
14
grab-merge
14
grab-merge
@ -40,14 +40,14 @@ if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$SUBDIR" = "y" ]; then
|
if [ "$SUBDIR" = "y" ]; then
|
||||||
[ -d "$MERGE" ] || mkdir $MERGE
|
[ -d "$MERGE" ] || { mkdir $MERGE; CREATED_DIR=1; }
|
||||||
cd $MERGE
|
cd $MERGE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$EXPERT" != "y" ] && [ -n "$(ls)" ]; then
|
if [ "$EXPERT" != "y" ] && [ -n "$(ls)" ]; then
|
||||||
echo -n "Sure you want to delete all the files in $(pwd) [yn]? "
|
echo -n "Are you sure you want to delete all the files in $(pwd) [yN]? "
|
||||||
read ANSWER
|
read ANSWER
|
||||||
[ $ANSWER = y ]
|
[ "$ANSWER" = "y" ] || exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${MERGE#lib}" != "${MERGE}" ]; then
|
if [ "${MERGE#lib}" != "${MERGE}" ]; then
|
||||||
@ -61,8 +61,12 @@ if [ "$RSYNC" = "y" ]; then
|
|||||||
rsync --verbose --archive --progress --compress --delete \
|
rsync --verbose --archive --progress --compress --delete \
|
||||||
"$URL" . || { echo "Error while rsyncing $URL"; exit 1; }
|
"$URL" . || { echo "Error while rsyncing $URL"; exit 1; }
|
||||||
else
|
else
|
||||||
rm -rf *
|
rm -rf --one-file-system *
|
||||||
wget -q https://merges.ubuntu.com/$HASH/$MERGE/REPORT
|
wget -q https://merges.ubuntu.com/$HASH/$MERGE/REPORT || {
|
||||||
|
echo "Package not found on merges.ubuntu.com."
|
||||||
|
[ "$CREATED_DIR" != "1" ] || { cd ..; rmdir $MERGE; }
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
for NAME in $(sed -n -e "/^ /p" REPORT); do
|
for NAME in $(sed -n -e "/^ /p" REPORT); do
|
||||||
echo "Getting $NAME..."
|
echo "Getting $NAME..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user