diff --git a/OpenRGB.pro b/OpenRGB.pro index e2228751..4a4fd8a3 100644 --- a/OpenRGB.pro +++ b/OpenRGB.pro @@ -590,7 +590,9 @@ contains(QMAKE_PLATFORM, linux) { metainfo.files+=qt/org.openrgb.OpenRGB.metainfo.xml systemd_service.path=$$PREFIX/lib/systemd/system/ systemd_service.files+=qt/openrgb.service - INSTALLS += target desktop icon metainfo udev_rules systemd_service + tmpfiles.path=$$PREFIX/lib/tmpfiles.d/ + tmpfiles.files+=qt/openrgb.conf + INSTALLS += target desktop icon metainfo udev_rules systemd_service tmpfiles } #-----------------------------------------------------------------------------------------------# diff --git a/fedora/OpenRGB.spec.in b/fedora/OpenRGB.spec.in index 83dff382..64a98f9a 100644 --- a/fedora/OpenRGB.spec.in +++ b/fedora/OpenRGB.spec.in @@ -44,6 +44,7 @@ fi %{_metainfodir}/org.%{name}.%{_name}.metainfo.xml %{_udevrulesdir}/60-%{name}.rules %{_unitdir}/openrgb.service +%{_tmpfilesdir}/openrgb.conf %license LICENSE %doc README.md diff --git a/qt/openrgb.conf b/qt/openrgb.conf new file mode 100644 index 00000000..3fd93702 --- /dev/null +++ b/qt/openrgb.conf @@ -0,0 +1 @@ +d /etc/openrgb 0755 root root - -