- Add condition around uno cache removal so it is properly wiped
when needed. OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=106
This commit is contained in:
parent
ae0fa373fc
commit
0e0428b9e7
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 1 12:05:00 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Add condition around uno cache removal so it is properly wiped
|
||||||
|
when needed.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Feb 1 11:34:26 UTC 2014 - tchvatal@suse.com
|
Sat Feb 1 11:34:26 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -1127,7 +1127,10 @@ test -d "$bundled_cache" && rm -rf "$bundled_cache"/* || true;
|
|||||||
%icon_theme_cache_post
|
%icon_theme_cache_post
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
test "$1" = "0" && rm -rf ./%{_libdir}/%{name}/share/uno_packages/cache || true
|
uno_cache="%{_libdir}/%{name}/share/uno_packages/cache"
|
||||||
|
if [ "$1" = "0" ] ; then
|
||||||
|
test -d "$uno_cache" && rm -rf "$uno_cache"/* || true;
|
||||||
|
fi
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user