]> git.ipfire.org Git - pakfire.git/commitdiff
Fix installation of systemd tmpfiles.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 21 Oct 2011 16:09:07 +0000 (18:09 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 21 Oct 2011 16:09:07 +0000 (18:09 +0200)
macros/systemd.macro

index 2ffb4120908f79eaac670b5344cdc20e474ee8f3..266579c8c24495c8c6a0795095f59d1e980b5f09 100644 (file)
@@ -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