mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
sys-apps/smartmontools: use EROOT instead of EPREFIX in postinst
Closes: https://bugs.gentoo.org/738668 Closes: https://github.com/gentoo/gentoo/pull/17229 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Steven Johnson <steven.gregory.johnson@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
committed by
David Seifert
parent
4d61e90a9b
commit
2e24c2f37f
@@ -114,8 +114,8 @@ src_install() {
|
||||
|
||||
pkg_postinst() {
|
||||
if use daemon || use update_drivedb; then
|
||||
local initial_db_file="${EPREFIX}/usr/share/${PN}/drivedb.h"
|
||||
local db_path="${EPREFIX}/var/db/${PN}"
|
||||
local initial_db_file="${EROOT}/usr/share/${PN}/drivedb.h"
|
||||
local db_path="${EROOT}/var/db/${PN}"
|
||||
|
||||
if [[ ! -f "${db_path}/drivedb.h" ]] ; then
|
||||
# No initial database found
|
||||
|
||||
@@ -114,8 +114,8 @@ src_install() {
|
||||
|
||||
pkg_postinst() {
|
||||
if use daemon || use update_drivedb; then
|
||||
local initial_db_file="${EPREFIX}/usr/share/${PN}/drivedb.h"
|
||||
local db_path="${EPREFIX}/var/db/${PN}"
|
||||
local initial_db_file="${EROOT}/usr/share/${PN}/drivedb.h"
|
||||
local db_path="${EROOT}/var/db/${PN}"
|
||||
|
||||
if [[ ! -f "${db_path}/drivedb.h" ]] ; then
|
||||
# No initial database found
|
||||
|
||||
@@ -114,8 +114,8 @@ src_install() {
|
||||
|
||||
pkg_postinst() {
|
||||
if use daemon || use update_drivedb; then
|
||||
local initial_db_file="${EPREFIX}/usr/share/${PN}/drivedb.h"
|
||||
local db_path="${EPREFIX}/var/db/${PN}"
|
||||
local initial_db_file="${EROOT}/usr/share/${PN}/drivedb.h"
|
||||
local db_path="${EROOT}/var/db/${PN}"
|
||||
|
||||
if [[ ! -f "${db_path}/drivedb.h" ]] ; then
|
||||
# No initial database found
|
||||
|
||||
Reference in New Issue
Block a user