Accepting request 260431 from home:Ledest:misc

fix bashism in post script

OBS-URL: https://build.opensuse.org/request/show/260431
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk2?expand=0&rev=215
This commit is contained in:
Dominique Leuenberger 2014-11-10 23:15:23 +00:00 committed by Git OBS Bridge
parent 14b38265c2
commit a0574db338
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Nov 09 04:18:00 UTC 2014 - Led <ledest@gmail.com>
- fix bashism in post script
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Oct 10 17:59:02 UTC 2014 - dimstar@opensuse.org Fri Oct 10 17:59:02 UTC 2014 - dimstar@opensuse.org

View File

@ -427,7 +427,7 @@ fi
# %{_libdir}/gtk-2.0/%{gtk_binary_version} already exists) which means # %{_libdir}/gtk-2.0/%{gtk_binary_version} already exists) which means
# gtk-query-immodules-2.0 couldn't run there. # gtk-query-immodules-2.0 couldn't run there.
%endif %endif
if [ $1 == 1 ]; then if [ $1 = 1 ]; then
test -d %{_libdir}/gtk-2.0/%{gtk_binary_version} test -d %{_libdir}/gtk-2.0/%{gtk_binary_version}
if test $? -eq 0; then if test $? -eq 0; then
%{_gtk_query_immodules_update_cache} %{_gtk_query_immodules_update_cache}