diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2020-07-26 19:00:46 +0200 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2020-07-26 19:02:05 +0200 |
commit | 7bc59ed5fd2b0ec128235bb43109f7495c482ec1 (patch) | |
tree | 24ea589025658bf38b157e4d2d6a035dd3c14d1b /sysui | |
parent | 3812706bea44b0d1b58a9093845ec3614be7c316 (diff) |
Revert "tdf#132787: Don't duplicate hicolor icon theme as gnome"
This reverts commit a26a5bb71c32c1cf8c5ad4d2ef79f3ece5065a02.
Reason for revert: apparently compilation with installation sets wasn't tested at all/the change is incomplete and breaks because of missing files.
Change-Id: Ied6973659bd0c25f613d615a4cae699b04ae2a43
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99398
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'sysui')
-rwxr-xr-x | sysui/desktop/share/create_tree.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sysui/desktop/share/create_tree.sh b/sysui/desktop/share/create_tree.sh index 28467357dee1..36dc4ff7a0e6 100755 --- a/sysui/desktop/share/create_tree.sh +++ b/sysui/desktop/share/create_tree.sh @@ -32,6 +32,16 @@ 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" |