- Clean up the uno cache removal to not display scarry message

bnc#900186

OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=243
This commit is contained in:
Tomáš Chvátal
2015-04-09 13:13:32 +00:00
committed by Git OBS Bridge
parent af102ccccc
commit 6c86ddd4af
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 9 13:12:21 UTC 2015 - tchvatal@suse.com
- Clean up the uno cache removal to not display scarry message
bnc#900186
-------------------------------------------------------------------
Thu Apr 9 12:42:00 UTC 2015 - tchvatal@suse.com

View File

@@ -1154,8 +1154,9 @@ exit 0
%preun
uno_cache="%{_libdir}/%{name}/share/uno_packages/cache"
if [ "$1" = "0" ] ; then
test -d "$uno_cache" && rm -rf "$uno_cache"/* || true;
test -d "$uno_cache" && rm -rf "$uno_cache"
fi
exit 0
%postun
/sbin/ldconfig