From 4a83ca04c3d8c2cb97207db3261ea93b0493049d Mon Sep 17 00:00:00 2001 From: Ronald Farrer Date: Wed, 4 Aug 2021 11:47:31 -0700 Subject: [PATCH] yet more patch testing (14). --- .../gentoo-surface-sources-5.13.7.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.13.7.ebuild b/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.13.7.ebuild index 53bc38a..1179422 100644 --- a/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.13.7.ebuild +++ b/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.13.7.ebuild @@ -30,9 +30,12 @@ SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} " src_unpack() { - default - unpack_set_extraversion - } + if [[ -n ${A} ]]; then + unpack_set_extraversion + else + die + fi +} src_prepare() { local SURFACE_PATCH