From d79e48306de1002c93eac2bee3c445ad7fbdf959 Mon Sep 17 00:00:00 2001 From: liuxinhao Date: Mon, 5 Dec 2022 15:29:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E8=A3=85=E5=AE=8C=E5=90=8E=E6=89=A7?= =?UTF-8?q?=E8=A1=8Cupdate-desktop-database,=E6=9B=B4=E6=96=B0mimetype?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kiran-desktop.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/kiran-desktop.spec b/kiran-desktop.spec index c3b61e5..33f7e09 100644 --- a/kiran-desktop.spec +++ b/kiran-desktop.spec @@ -2,7 +2,7 @@ Name: kiran-desktop Version: 2.4 -Release: 2 +Release: 3 Summary: Kiran desktop environment #Group: License: MulanPSL-2.0 @@ -169,6 +169,12 @@ cp %{_builddir}/%{name}-%{version}/RELEASE.md %{buildroot}/%{_datadir}/doc/%{na install -D -m 0644 %SOURCE1 %{buildroot}%{_datadir}/glib-2.0/schemas/99_unikylin-mate-marco-general-theme.gschema.override +%post +/usr/bin/update-desktop-database &> /dev/null || : + +%postun +/usr/bin/update-desktop-database &> /dev/null || : + %files %dir %{_datadir}/doc/%{name} %{_datadir}/doc/%{name}/RELEASE.md @@ -176,6 +182,9 @@ install -D -m 0644 %SOURCE1 %{buildroot}%{_datadir}/glib-2.0/schemas/99_unikylin %changelog +* Mon Dec 05 2022 liuxinhao - 2.4-3 +- kYOS-F: after install update-desktop-database + * Mon Nov 14 2022 liuxinhao - 2.4-2 - KYOS-F: add Requres: firefox,eom,dejavu-fonts -- Gitee