[neon/neon/livecd-rootfs/Neon/release] live-build/ubuntu-cpc/hooks.d/base: fix(Hyperv Desktop): remove redundant case statement match `ubuntu`

Philip Roche null at kde.org
Thu Jul 11 11:54:01 BST 2024


Git commit 5f59eec085a50bf88e4de5c0c0d5f19c730340a0 by Philip Roche.
Committed on 24/05/2024 at 14:31.
Pushed by carlosdem into branch 'Neon/release'.

fix(Hyperv Desktop): remove redundant case statement match `ubuntu`

`ubuntu` will never match `${PROJECT:-}:${SUBPROJECT:-}` cases statement and can be safely removed.

(cherry picked from commit 0945c40fb2bb067d86d496b7b40bdae89123124c)

M  +1    -1    live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi-non-cloud.binary

https://invent.kde.org/neon/neon/livecd-rootfs/-/commit/5f59eec085a50bf88e4de5c0c0d5f19c730340a0

diff --git a/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi-non-cloud.binary b/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi-non-cloud.binary
index 2c8de186..44d2e4cf 100755
--- a/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi-non-cloud.binary
+++ b/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi-non-cloud.binary
@@ -34,7 +34,7 @@ case ${PROJECT:-}:${SUBPROJECT:-} in
         echo "We don't create EFI images for Ubuntu Desktop."
         exit 0
         ;;
-    ubuntu|ubuntu:desktop-preinstalled)
+    ubuntu:desktop-preinstalled)
         IMAGE_STR="# DESKTOP_IMG: This file was created/modified by the Desktop Image build process"
         FS_LABEL="desktop-rootfs"
         IMAGE_SIZE=12884901888 # 12G



More information about the Neon-commits mailing list