Collapse case statement into one for $ARCH+$SUBARCH since it only checks for armhf+omap4

ubuntu/trusty
Iain Lane 12 years ago
parent bfde7e4938
commit e0fda22c01

@ -173,22 +173,15 @@ esac
case $PROJECT in case $PROJECT in
ubuntu|ubuntu-dvd) ubuntu|ubuntu-dvd)
add_task install minimal standard add_task install minimal standard
case $ARCH in case "$ARCH+$SUBARCH" in
armhf) armhf+omap4)
case $SUBARCH in # Don't use the task as this drags in the regular X
omap4) # stack (the metapackage doesn't). We want the
# Don't use the task as this drags in the regular X # "reverted" one.
# stack (the metapackage doesn't). We want the add_package install ubuntu-desktop \
# "reverted" one. xserver-xorg-core-omap-revert \
add_package install ubuntu-desktop \ xserver-xorg-video-omap-revert \
xserver-xorg-core-omap-revert \ xserver-xorg-input-evdev-omap-revert
xserver-xorg-video-omap-revert \
xserver-xorg-input-evdev-omap-revert
;;
*)
add_task install ubuntu-desktop
;;
esac
;; ;;
*) *)
add_task install ubuntu-desktop add_task install ubuntu-desktop

Loading…
Cancel
Save