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:
@@ -32,16 +32,6 @@ if [ "${KDEMAINDIR}" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${GNOMEDIR}" ]; then
|
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"
|
mkdir -p "${DESTDIR}/${GNOMEDIR}/share/mime-info"
|
||||||
cp openoffice.mime "${DESTDIR}/${GNOMEDIR}/share/mime-info/${PREFIX}.mime"
|
cp openoffice.mime "${DESTDIR}/${GNOMEDIR}/share/mime-info/${PREFIX}.mime"
|
||||||
cp openoffice.keys "${DESTDIR}/${GNOMEDIR}/share/mime-info/${PREFIX}.keys"
|
cp openoffice.keys "${DESTDIR}/${GNOMEDIR}/share/mime-info/${PREFIX}.keys"
|
||||||
|
Reference in New Issue
Block a user