Fix postun scriplet syntax error

/var/tmp/rpm-tmp.I8v0Wn: line 1: [: missing `]'
f38
Kalev Lember 14 years ago
parent 256ba088d0
commit 0cc6530892

@ -1,6 +1,6 @@
Name: simple-scan Name: simple-scan
Version: 3.2.0 Version: 3.2.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: Simple scanning utility Summary: Simple scanning utility
Group: Applications/Multimedia Group: Applications/Multimedia
@ -39,7 +39,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name} --with-man --with-gnome %find_lang %{name} --with-man --with-gnome
%postun %postun
if [ $1 -eq 0]; then if [ $1 -eq 0 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi fi
@ -55,6 +55,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/glib-2.0/schemas/org.gnome.SimpleScan.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.SimpleScan.gschema.xml
%changelog %changelog
* Fri Sep 30 2011 Kalev Lember <kalevlember@gmail.com> - 3.2.0-2
- Fix postun scriplet syntax error
* Wed Sep 28 2011 Ray <rstrode@redhat.com> - 3.2.0-1 * Wed Sep 28 2011 Ray <rstrode@redhat.com> - 3.2.0-1
- Update to 3.2.0 - Update to 3.2.0

Loading…
Cancel
Save