commit: 2e61b022eaf4c3b25d17c8f6aafe81c34a27bba6
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 30 16:41:55 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Oct 30 16:45:51 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e61b022
sys-kernel/linux-firmware: always create config file for USE=savedconfig
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
sys-kernel/linux-firmware/linux-firmware-99999999.ebuild | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild
b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild
index 620398e13c2..63f85a38567 100644
--- a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild
+++ b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild
@@ -295,11 +295,10 @@ src_install() {
die "Refusing to install an empty package"
fi
- if use savedconfig; then
- echo "# Remove files that shall not be installed from this
list." > "${S}"/${PN}.conf || die
- find * ! -type d >> "${S}"/${PN}.conf || die
- save_config "${S}"/${PN}.conf
- fi
+ # create config file
+ echo "# Remove files that shall not be installed from this list." >
"${S}"/${PN}.conf || die
+ find * ! -type d >> "${S}"/${PN}.conf || die
+ save_config "${S}"/${PN}.conf
popd &>/dev/null || die