From: Michael Tremer Date: Fri, 21 Oct 2011 16:09:07 +0000 (+0200) Subject: Fix installation of systemd tmpfiles. X-Git-Tag: 0.9.17~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e82537d165f070b1baf0f900f492e8463b04469e;p=pakfire.git Fix installation of systemd tmpfiles. --- diff --git a/macros/systemd.macro b/macros/systemd.macro index 2ffb41209..266579c8c 100644 --- a/macros/systemd.macro +++ b/macros/systemd.macro @@ -17,7 +17,7 @@ def MACRO_INSTALL_SYSTEMD_TMPFILES for file in %{DIR_SOURCE}/*.tmpfiles; do [ -e "${file}" ] || continue mkdir -p %{BUILDROOT}/%{SYSTEMD_TMPFILES_DIR} - cp -vf ${file} %{BUILDROOT}/%{SYSTEMD_TMPFILES_DIR}/$(basename ${file}) + cp -vf ${file} %{BUILDROOT}/%{SYSTEMD_TMPFILES_DIR}/$(basename ${file%*.tmpfiles}).conf done unset file end