- Try hard to support migration from older layout where the
help and autotext are dirs not symlinks. OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=107
This commit is contained in:
parent
0e0428b9e7
commit
800a06f5c7
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 12:09:19 UTC 2014 - tchvatal@suse.com
|
||||
|
||||
- Try hard to support migration from older layout where the
|
||||
help and autotext are dirs not symlinks.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 12:05:00 UTC 2014 - tchvatal@suse.com
|
||||
|
||||
|
@ -1115,10 +1115,10 @@ bundled_cache="%{_libdir}/%{name}/share/prereg/bundled"
|
||||
test -d "$bundled_cache" && rm -rf "$bundled_cache"/* || true;
|
||||
# Directory to symlink is not working in RPM so workaround it
|
||||
# FIXME: Remove after 13.1 is out of update scope.
|
||||
#helpdir="%{_libdir}/%{name}/share/help"
|
||||
#autotextdir="%{_libdir}/%{name}/share/autotext"
|
||||
#test -d "$helpdir" && rm -rf "$helpdir" || true ;
|
||||
#test -d "$autotextdir" && rm -rf "$autotextdir" || true ;
|
||||
helpdir="%{_libdir}/%{name}/help"
|
||||
autotextdir="%{_libdir}/%{name}/share/autotext"
|
||||
test -d "$helpdir" && rm -rf "$helpdir" || true ;
|
||||
test -d "$autotextdir" && rm -rf "$autotextdir" || true ;
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
Loading…
Reference in New Issue
Block a user