summaryrefslogtreecommitdiff
path: root/sysui
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2012-04-13 15:37:42 +0200
committerPetr Mladek <pmladek@suse.cz>2012-04-13 15:39:49 +0200
commit8b6fade3b1c24f5442d409cc1bb5ccc8899b0cdf (patch)
treeb39724e7079cab0813e47ffe17c6016192ef520c /sysui
parent3934efe28c70b1c21a60f38fe726a935c15f4e99 (diff)
find-4.1.20 does not support -regextype option
use -name "*.png" -o -name "*.svg" instead
Diffstat (limited to 'sysui')
-rwxr-xr-xsysui/desktop/share/create_tree.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysui/desktop/share/create_tree.sh b/sysui/desktop/share/create_tree.sh
index 1776cfdfd5b1..056728aba51a 100755
--- a/sysui/desktop/share/create_tree.sh
+++ b/sysui/desktop/share/create_tree.sh
@@ -3,7 +3,7 @@ umask 022
if [ "${KDEMAINDIR}" ]; then
echo "Copying icons..."
- for i in `cd "${ICON_SOURCE_DIR}"; find ${ICON_THEMES:-hicolor/???x??? hicolor/??x?? hicolor/scalable locolor} -regextype posix-egrep -regex ".*\.(png|svg)"`
+ for i in `cd "${ICON_SOURCE_DIR}"; find ${ICON_THEMES:-hicolor/???x??? hicolor/??x?? hicolor/scalable locolor} -name "*.png" -o -name "*.svg"`
do
targetdir=${DESTDIR}/${KDEMAINDIR}/share/icons/`dirname ${i}`
mkdir -p "${targetdir}"
@@ -22,7 +22,7 @@ fi
if [ "${GNOMEDIR}" ]; then
echo "Copying GNOME icons..."
- for i in `cd "${ICON_SOURCE_DIR}/hicolor"; find ??x?? ???x??? scalable -regextype posix-egrep -regex ".*\.(png|svg)"`
+ 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}"