I was wondering why I was needing to manually run cups-genppdupdate for all my systems... and it seems it's because ROOT is empty at pkg_postinst phase... I am unsure then if we should change the logic of the phase... I guess it's to avoid issues on prefix systems? Thanks
I also see other packages such as vlc or scm using [[ -z ${ROOT} ]] instead of $ROOT=/
it is due to EAPI7 https://mgorny.pl/articles/the-ultimate-guide-to-eapi-7.html#d-ed-root-eroot-no-longer-have-a-trailing-slash
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c311a98c641c766e363be4e8b2dc96e87154bb44 commit c311a98c641c766e363be4e8b2dc96e87154bb44 Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2020-11-10 10:34:31 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2020-11-10 10:34:31 +0000 net-print/gutenprint: Fix ROOT detection and canon/epson bugs Fix ROOT detection with eapi7 and backport upstream fixes for some Canon and Epson printers Closes: https://bugs.gentoo.org/753815 Package-Manager: Portage-3.0.9, Repoman-3.0.1 Signed-off-by: Pacho Ramos <pacho@gentoo.org> .../gutenprint/files/gutenprint-5.3.3-epson.patch | 54 ++++++++++++++ .../files/gutenprint-5.3.3-selphy-typo.patch | 22 ++++++ net-print/gutenprint/gutenprint-5.3.3-r2.ebuild | 87 ++++++++++++++++++++++ 3 files changed, 163 insertions(+)