From e0fda22c0131f6215497ff35920182786e301402 Mon Sep 17 00:00:00 2001 From: Iain Lane Date: Tue, 16 Jul 2013 17:08:59 +0100 Subject: [PATCH] Collapse case statement into one for $ARCH+$SUBARCH since it only checks for armhf+omap4 --- live-build/auto/config | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/live-build/auto/config b/live-build/auto/config index 50467e3a..d01123e5 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -173,22 +173,15 @@ esac case $PROJECT in ubuntu|ubuntu-dvd) add_task install minimal standard - case $ARCH in - armhf) - case $SUBARCH in - omap4) - # Don't use the task as this drags in the regular X - # stack (the metapackage doesn't). We want the - # "reverted" one. - add_package install ubuntu-desktop \ - xserver-xorg-core-omap-revert \ - xserver-xorg-video-omap-revert \ - xserver-xorg-input-evdev-omap-revert - ;; - *) - add_task install ubuntu-desktop - ;; - esac + case "$ARCH+$SUBARCH" in + armhf+omap4) + # Don't use the task as this drags in the regular X + # stack (the metapackage doesn't). We want the + # "reverted" one. + add_package install ubuntu-desktop \ + xserver-xorg-core-omap-revert \ + xserver-xorg-video-omap-revert \ + xserver-xorg-input-evdev-omap-revert ;; *) add_task install ubuntu-desktop