fix first install post script issue

This commit is contained in:
dou33 2022-04-19 14:47:05 +08:00
parent 9f781f7da3
commit 922db237a7

View File

@ -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
@ -132,8 +132,8 @@ gzip -c %{_builddir}/%{name}-%{version}/man/usd-locate-pointer.1 > %{bui
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
%doc debian/changelog debian/copyright
@ -158,6 +158,9 @@ glib-compile-schemas /usr/share/glib-2.0/schemas/
%changelog
* Tue Apr 19 2022 douyan <douyan@kylimos.cn> - 3.0.1-4
- fix first install post script issue
* Tue Feb 22 2022 huayadong <huayadong@kylinos.cn> - 3.0.1-3
- update to upstream version 3.0.1-3