From 42d124ed2b135b439b1215acc101d3eee2fbecdc Mon Sep 17 00:00:00 2001 From: Joshua Stone Date: Tue, 8 Dec 2020 13:23:52 -0500 Subject: [PATCH] Move metainfo to ubuntu oflder so it can be used in both .rpm and .deb builds --- application/package/rpm/MultiMC5.spec | 2 +- .../multimc/usr/share/metainfo}/multimc.metainfo.xml | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename application/package/{linux => ubuntu/multimc/usr/share/metainfo}/multimc.metainfo.xml (100%) diff --git a/application/package/rpm/MultiMC5.spec b/application/package/rpm/MultiMC5.spec index 79f416b90..5b72c7811 100644 --- a/application/package/rpm/MultiMC5.spec +++ b/application/package/rpm/MultiMC5.spec @@ -26,7 +26,7 @@ install -m 0755 ../ubuntu/multimc/opt/multimc/run.sh %{buildroot}/opt/multimc/ru mkdir -p %{buildroot}/%{_datadir}/applications install -m 0644 ../ubuntu/multimc/usr/share/applications/multimc.desktop %{buildroot}/%{_datadir}/applications/multimc.desktop mkdir -p %{buildroot}/%{_metainfodir} -install -m 0644 ../linux/multimc.metainfo.xml %{buildroot}/%{_metainfodir}/multimc.metainfo.xml +install -m 0644 ../ubuntu/multimc/usr/share/metainfo/multimc.metainfo.xml %{buildroot}/%{_metainfodir}/multimc.metainfo.xml %files %dir /opt/multimc diff --git a/application/package/linux/multimc.metainfo.xml b/application/package/ubuntu/multimc/usr/share/metainfo/multimc.metainfo.xml similarity index 100% rename from application/package/linux/multimc.metainfo.xml rename to application/package/ubuntu/multimc/usr/share/metainfo/multimc.metainfo.xml