diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-06-08 09:16:08 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-06-13 10:09:59 +0200 |
commit | daec6a3d1f4e3092e0a2e4ada1fdcc72a3829d4c (patch) | |
tree | 82e831016b45de69d05d95abd1737780b8490d25 /eclass/tmpfiles.eclass | |
parent | systemd.eclass: Sanitize insopts (diff) | |
download | gentoo-daec6a3d1f4e3092e0a2e4ada1fdcc72a3829d4c.tar.gz gentoo-daec6a3d1f4e3092e0a2e4ada1fdcc72a3829d4c.tar.bz2 gentoo-daec6a3d1f4e3092e0a2e4ada1fdcc72a3829d4c.zip |
tmpfiles.eclass: Sanitize insopts
Sanitize insopts when calling doins, in order to avoid prior insopts
calls accidentally affecting do*/new* functions defined by the eclass.
Diffstat (limited to 'eclass/tmpfiles.eclass')
-rw-r--r-- | eclass/tmpfiles.eclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/tmpfiles.eclass b/eclass/tmpfiles.eclass index 746225784128..2a6e7ce8866a 100644 --- a/eclass/tmpfiles.eclass +++ b/eclass/tmpfiles.eclass @@ -76,6 +76,7 @@ dotmpfiles() { done ( + insopts -m 0644 insinto /usr/lib/tmpfiles.d doins "$@" ) @@ -93,6 +94,7 @@ newtmpfiles() { fi ( + insopts -m 0644 insinto /usr/lib/tmpfiles.d newins "$@" ) |