We allready have declared this directory in the arch macro file,
so there is no need in doing this again.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
-
-SYSTEMD_TMPFILES_DIR = /usr/lib/tmpfiles.d
SYSTEMD_SYSUSERS_DIR = /usr/lib/sysusers.d
MACRO_INSTALL_SYSTEMD_FILES
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%*.tmpfiles}).conf
+ mkdir -p %{BUILDROOT}/%{tmpfilesdir}
+ cp -vf ${file} %{BUILDROOT}/%{tmpfilesdir}/$(basename ${file%*.tmpfiles}).conf
done
unset file
end