diff options
Diffstat (limited to 'sys-kernel/linux-firmware')
-rw-r--r-- | sys-kernel/linux-firmware/linux-firmware-20190726-r1.ebuild (renamed from sys-kernel/linux-firmware/linux-firmware-20190726.ebuild) | 4 | ||||
-rw-r--r-- | sys-kernel/linux-firmware/linux-firmware-99999999.ebuild | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys-kernel/linux-firmware/linux-firmware-20190726.ebuild b/sys-kernel/linux-firmware/linux-firmware-20190726-r1.ebuild index 9baa48016e3d..528214a68b0e 100644 --- a/sys-kernel/linux-firmware/linux-firmware-20190726.ebuild +++ b/sys-kernel/linux-firmware/linux-firmware-20190726-r1.ebuild @@ -274,13 +274,13 @@ src_prepare() { fi echo "# Remove files that shall not be installed from this list." > ${PN}.conf - find * ! -type d \( ! -name ${PN}.conf -o -name amd-uc.img \) >> ${PN}.conf + find * ! -type d ! \( -name ${PN}.conf -o -name amd-uc.img \) >> ${PN}.conf if use savedconfig; then restore_config ${PN}.conf ebegin "Removing all files not listed in config" - find ! -type d ! -name ${PN}.conf -printf "%P\n" \ + find ! -type d ! \( -name ${PN}.conf -o -name amd-uc.img \) -printf "%P\n" \ | grep -Fvx -f <(grep -v '^#' ${PN}.conf \ || die "grep failed, empty config file?") \ | xargs -d '\n' --no-run-if-empty rm diff --git a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild index c2afff9ee0c0..bc18789f40bd 100644 --- a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild +++ b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild @@ -274,13 +274,13 @@ src_prepare() { fi echo "# Remove files that shall not be installed from this list." > ${PN}.conf - find * ! -type d \( ! -name ${PN}.conf -o -name amd-uc.img \) >> ${PN}.conf + find * ! -type d ! \( -name ${PN}.conf -o -name amd-uc.img \) >> ${PN}.conf if use savedconfig; then restore_config ${PN}.conf ebegin "Removing all files not listed in config" - find ! -type d ! -name ${PN}.conf -printf "%P\n" \ + find ! -type d ! \( -name ${PN}.conf -o -name amd-uc.img \) -printf "%P\n" \ | grep -Fvx -f <(grep -v '^#' ${PN}.conf \ || die "grep failed, empty config file?") \ | xargs -d '\n' --no-run-if-empty rm |