- Do not remove folders too early in the link-to-ooo-home
* this fixes warning about trying to remove dir OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=190
This commit is contained in:
parent
177b70b9a1
commit
ee8bc8f5c2
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 19 11:11:42 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Do not remove folders too early in the link-to-ooo-home
|
||||||
|
* this fixes warning about trying to remove dir
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 29 13:29:59 UTC 2014 - tchvatal@suse.com
|
Fri Aug 29 13:29:59 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ change_linking() {
|
|||||||
# first just remove the symlinks
|
# first just remove the symlinks
|
||||||
for file in `cat ${filelist} | grep "/usr/share/libreoffice" | sort`; do
|
for file in `cat ${filelist} | grep "/usr/share/libreoffice" | sort`; do
|
||||||
linkfile=${file/${datadir}/${libdir}}
|
linkfile=${file/${datadir}/${libdir}}
|
||||||
if [[ -L "${linkfile}" && ! -r "${linkfile}" ]]; then
|
if [[ -L "${linkfile}" && ! -r "${linkfile}" && ! -d "${linkfile}" ]]; then
|
||||||
rm -f "${linkfile}" || exit 1
|
rm -f "${linkfile}" || exit 1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user