summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-07-30 23:54:58 +0100
committerSam James <sam@gentoo.org>2021-07-31 00:29:49 +0100
commitc515cc38fde1a6e341db97d94e5ea168238c247d (patch)
treeeade0b9a29f3ad910eaab64c52ad98bdab0c6b72 /app-mobilephone
parentapp-misc/screen: [QA] call tmpfiles_process in pkg_postinst (diff)
downloadgentoo-c515cc38fde1a6e341db97d94e5ea168238c247d.tar.gz
gentoo-c515cc38fde1a6e341db97d94e5ea168238c247d.tar.bz2
gentoo-c515cc38fde1a6e341db97d94e5ea168238c247d.zip
app-mobilephone/smstools: [QA] call tmpfiles_process in pkg_postinst
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 <sam@gentoo.org>
Diffstat (limited to 'app-mobilephone')
-rw-r--r--app-mobilephone/smstools/smstools-3.1.21-r2.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/app-mobilephone/smstools/smstools-3.1.21-r2.ebuild b/app-mobilephone/smstools/smstools-3.1.21-r2.ebuild
index 1ff5073bc2fa..2316c15de039 100644
--- a/app-mobilephone/smstools/smstools-3.1.21-r2.ebuild
+++ b/app-mobilephone/smstools/smstools-3.1.21-r2.ebuild
@@ -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
}