Commit f4924bad authored by Markus Frosch's avatar Markus Frosch 📣
Browse files

Include database schema

parent 5345609b
Pipeline #2530 passed with stages
in 8 minutes and 57 seconds
......@@ -104,6 +104,9 @@ install -m 0755 icingadb %{buildroot}%{_sbindir}/
install -m 0644 etc/config_production.ini %{buildroot}%{configdir}/config.ini
install -m 0644 etc/%{service} %{buildroot}%{_unitdir}/
install -d -m 0755 %{buildroot}%{_datadir}/%{name}
(umask 0022 && cp -rv etc/schema %{buildroot}%{_datadir}/%{name}/)
%if "%{_vendor}" == "suse"
ln -sf /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}
%endif # suse
......@@ -151,6 +154,9 @@ rm -rf %{buildroot}
%{_sbindir}/rc%{name}
%endif # suse
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/schema
%defattr(0640,icingadb,icingadb,0750)
%dir %{configdir}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment