mk-sbuild-lv: fixed bug in finding debootstrap release names

This commit is contained in:
Stephan Hermann 2008-01-20 00:41:13 +01:00
parent faecbf7c31
commit ebf10ee50f
2 changed files with 6 additions and 2 deletions

6
debian/changelog vendored
View File

@ -30,7 +30,11 @@ ubuntu-dev-tools (0.25) UNRELEASED; urgency=low
* Remove duplicated ubuntu-dev-tools recommends (it's already a * Remove duplicated ubuntu-dev-tools recommends (it's already a
dependency). dependency).
-- Michael Bienia <geser@ubuntu.com> Sat, 19 Jan 2008 16:18:45 +0100 [ Stephan Hermann ]
* mk-sbuild-lv: check for debootstrap release names in
/usr/share/debootstreap/releases and not in /usr/lib/debootstrap/releases
-- Stephan Hermann <sh@sourcecode.de> Sun, 20 Jan 2008 00:39:48 +0100
ubuntu-dev-tools (0.24) hardy; urgency=low ubuntu-dev-tools (0.24) hardy; urgency=low

View File

@ -163,7 +163,7 @@ if [ `sudo vgdisplay -c "$VG" | wc -l` -eq 0 ]; then
fi fi
# Is the specified release known to debootstrap? # Is the specified release known to debootstrap?
if [ ! -f "/usr/lib/debootstrap/scripts/$RELEASE" ]; then if [ ! -f "/usr/share/debootstrap/scripts/$RELEASE" ]; then
echo "Specified release not known to debootstrap" >&2 echo "Specified release not known to debootstrap" >&2
exit 1 exit 1
else else