Closes: https://bugs.gentoo.org/686330
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
save_config ${PN}.conf
fi
rm ${PN}.conf || die
+
+ if ! ( shopt -s failglob; : * ) 2>/dev/null; then
+ eerror "No files to install. Check your USE flag settings"
+ eerror "and the list of files in your saved configuration."
+ die "Refusing to install an empty package"
+ fi
+
insinto /lib/firmware/
doins -r *
}
save_config ${PN}.conf
fi
rm ${PN}.conf || die
+
+ if ! ( shopt -s failglob; : * ) 2>/dev/null; then
+ eerror "No files to install. Check your USE flag settings"
+ eerror "and the list of files in your saved configuration."
+ die "Refusing to install an empty package"
+ fi
+
insinto /lib/firmware/
doins -r *
}