summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsysui/desktop/share/create_tree.sh10
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"