Branch: master

5d8f2228 2014-11-20 13:13:47 Timothy Pearson
Rename a few icons left in rc files
M kde-tde/tde_action_conversion
M kde-tde/tde_mimetype_conversion
diff --git a/kde-tde/tde_action_conversion b/kde-tde/tde_action_conversion
index 1fdb2ee..09ac110 100755
--- a/kde-tde/tde_action_conversion
+++ b/kde-tde/tde_action_conversion
@@ -49,6 +49,8 @@
 	find ./ -type f -iname "*.desktop" -not -iwholename '*.git*' -exec sed -i "s/Icon=$1/Icon=$2/g" {} \;
 	find ./ -type f -iname "*.protocol" -not -iwholename '*.git*' -exec sed -i "s/Icon=$1/Icon=$2/g" {} \;
 
+	find ./ -type f -iname "*.rc" -not -iwholename '*.git*' -exec sed -i "s/icon=\"$1\"/icon=\"$2\"/g" {} \;
+
 	echo "==================================================="
 	echo "Renaming $1..."
 	cd $WORKDIR/tdelibs/pics
diff --git a/kde-tde/tde_mimetype_conversion b/kde-tde/tde_mimetype_conversion
index 2960d86..a4e2ae7 100755
--- a/kde-tde/tde_mimetype_conversion
+++ b/kde-tde/tde_mimetype_conversion
@@ -49,6 +49,8 @@
 	find ./ -type f -iname "*.desktop" -not -iwholename '*.git*' -exec sed -i "s/Icon=$1/Icon=$2/g" {} \;
 	find ./ -type f -iname "*.protocol" -not -iwholename '*.git*' -exec sed -i "s/Icon=$1/Icon=$2/g" {} \;
 
+	find ./ -type f -iname "*.rc" -not -iwholename '*.git*' -exec sed -i "s/icon=\"$1\"/icon=\"$2\"/g" {} \;
+
 	echo "==================================================="
 	echo "Renaming $1..."
 	cd $WORKDIR/tdelibs/pics