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