tdf#132787: Don't duplicate hicolor icon theme as gnome

GNOME will use the hicolor theme.

Change-Id: I3a163fd9b43457063167701c2964a457aac85cb6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93712
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
This commit is contained in:
Chris Mayo 2020-05-08 10:35:51 +01:00 committed by Heiko Tietze
parent 71654aed66
commit a26a5bb71c

View file

@ -32,16 +32,6 @@ if [ "${KDEMAINDIR}" ]; then
fi
if [ "${GNOMEDIR}" ]; then
for i in `cd "${ICON_SOURCE_DIR}/hicolor"; find ??x?? ???x??? scalable -name "*.png" -o -name "*.svg"`
do
targetdir=${DESTDIR}/${GNOMEDIR}/share/icons/gnome/`dirname ${i}`
mkdir -p "${targetdir}"
destfile=$targetdir/${ICON_PREFIX:-}${ICON_PREFIX:+-}`basename ${i}`
cp "${ICON_SOURCE_DIR}/hicolor/${i}" "${destfile}"
chmod 0644 "${destfile}"
done
unset targetdir destfile
mkdir -p "${DESTDIR}/${GNOMEDIR}/share/mime-info"
cp openoffice.mime "${DESTDIR}/${GNOMEDIR}/share/mime-info/${PREFIX}.mime"
cp openoffice.keys "${DESTDIR}/${GNOMEDIR}/share/mime-info/${PREFIX}.keys"