From 1d34f318a054018e8c27514e8bccaf296860f8be Mon Sep 17 00:00:00 2001 From: dou33 Date: Tue, 19 Apr 2022 14:36:27 +0800 Subject: [PATCH] fix first install post script issue --- ukui-settings-daemon.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ukui-settings-daemon.spec b/ukui-settings-daemon.spec index ad01400..9ff899c 100644 --- a/ukui-settings-daemon.spec +++ b/ukui-settings-daemon.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: ukui-settings-daemon Version: 3.0.1 -Release: 3 +Release: 4 Summary: daemon handling the UKUI session settings License: GPL-2.0, GPL-2+, GPL-2.1, LGPL-2.1+, GPL-3+, LGPL-2+, MIT~OldStyleWithDisclaimer+RedHat, MIT~OldStyle+RedHat URL: http://www.ukui.org @@ -96,8 +96,8 @@ make install DESTDIR=%{buildroot} rm -rf $RPM_BUILD_ROOT %post -set -e -glib-compile-schemas /usr/share/glib-2.0/schemas/ +set -e &> /dev/null || : +glib-compile-schemas /usr/share/glib-2.0/schemas/ &> /dev/null || : %files %{_sysconfdir}/* @@ -123,6 +123,9 @@ glib-compile-schemas /usr/share/glib-2.0/schemas/ %changelog +* Tue Apr 19 2022 douyan - 3.0.1-4 +- fix first install post script issue + * Wed Apr 06 2022 tanyulong - 3.0.1-3 - add yaml file