desktop.eclass: domenu, fix dying on non-existing files
authorMichał Górny <mgorny@gentoo.org>
Thu, 26 Jul 2018 11:03:37 +0000 (13:03 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 9 Aug 2018 14:08:38 +0000 (16:08 +0200)
commite773cbd5a30bfb72253aeb4c711c23362b686048
treee512261d3e4b10ca0e877a202417fd80a0117241
parent686e93d9d0c7d16d8ecff6dfc84e8f5b795086eb
desktop.eclass: domenu, fix dying on non-existing files

The weird logic in domenu had an explicit separate clause
for unsuccessful return on non-existing files.  This worked fine before
EAPI 4 since '|| die' was mandatory.  However, since 'doins' started
dying on its own, developers have assumed the same for 'domenu'
and stopped checking the exit status.  As a result, missing files
are now silently ignored.

Change the logic to explicitly die when the file does not exist.
To provide the best interoperability and avoid code duplication, just
let 'doins' die on its own.
eclass/desktop.eclass