live-build/auto/config: Don't try to install an empty task name when

building an image without a live task.
This commit is contained in:
Colin Watson 2012-08-23 09:44:35 +01:00
parent 314ade199f
commit dc1ab10bb4
2 changed files with 8 additions and 1 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
livecd-rootfs (2.76) UNRELEASED; urgency=low
* live-build/auto/config: Don't try to install an empty task name when
building an image without a live task.
-- Colin Watson <cjwatson@ubuntu.com> Thu, 23 Aug 2012 09:43:38 +0100
livecd-rootfs (2.75) quantal; urgency=low
* Adjust for live-build interface changes up to 3.0~a57-1ubuntu1.

View File

@ -229,7 +229,7 @@ case $PROJECT in
;;
esac
if [ "$PREINSTALLED" != "true" ]; then
if [ "$PREINSTALLED" != "true" ] && [ "$LIVE_TASK" ]; then
add_task live "$LIVE_TASK"
fi