Skip to content

Commit

Permalink
app-mobilephone/smstools: [QA] call tmpfiles_process in pkg_postinst
Browse files Browse the repository at this point in the history
This is needed to actually apply the tmpfiles configuration
we've installed in the ebuild. See tmpfiles.eclass documentation.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Jul 30, 2021
1 parent d1e4dc1 commit c515cc3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app-mobilephone/smstools/smstools-3.1.21-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ src_install() {
}

pkg_postinst() {
tmpfiles_process smsd.conf

touch "${EROOT}"/var/log/smsd.log || die
chown --no-dereference -f smsd:sms "${EROOT}"/var/log/smsd.log || die
}

0 comments on commit c515cc3

Please sign in to comment.