mirror of
https://github.com/flatcar/scripts.git
synced 2026-03-25 23:31:15 +01:00
eclass/tmpfiles: Sync with Gentoo
It's from Gentoo commit 95aa07e20e071fec2756dca82171fa2898626ea3. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
b69989a4ea
commit
84982bf1b6
@ -1,4 +1,4 @@
|
||||
# Copyright 2016-2024 Gentoo Authors
|
||||
# Copyright 2016-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: tmpfiles.eclass
|
||||
@ -139,6 +139,8 @@ tmpfiles_process() {
|
||||
systemd-tmpfiles --create "$@"
|
||||
elif type tmpfiles &> /dev/null; then
|
||||
tmpfiles --create "$@"
|
||||
elif type seedfiles &> /dev/null; then
|
||||
seedfiles --create "$@"
|
||||
fi
|
||||
if [[ $? -ne 0 ]]; then
|
||||
ewarn "The tmpfiles processor exited with a non-zero exit code"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user