- Try to sort out broken help after migration from 13.1

OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=181
This commit is contained in:
Tomáš Chvátal 2014-07-29 15:21:06 +00:00 committed by Git OBS Bridge
parent 0fadb13cbf
commit 68d32ae6d9
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jul 29 15:20:41 UTC 2014 - tchvatal@suse.com
- Try to sort out broken help after migration from 13.1
-------------------------------------------------------------------
Tue Jul 29 15:07:13 UTC 2014 - tchvatal@suse.com

View File

@ -1162,6 +1162,10 @@ autotextdir="%{_libdir}/%{name}/share/autotext"
if [ -d "$helpdir" ]; then
rm -rf "$helpdir" || true
ln -s "%{_datadir}/%{name}/help" "$helpdir"
# also remove the now broken symlinks
for i in idxcaption.xsl idxcontent.xsl main_transform.xsl; do
rm -rf %{_datadir}/%{name}/help/$i
done
fi
if [ -d "$autotextdir" ]; then
rm -rf "$autotextdir" || true