summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-11-20 13:13:47 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-11-20 13:13:47 -0600
commit5d8f222851d246b9f7427d1415030fef7f31d10c (patch)
treef6a0139a1f7527821cf16a6d57a57fe5131f5cc0
parentaf6429be0097f4e83552d62b4bed3774b03d194d (diff)
downloadexperimental-5d8f222851d246b9f7427d1415030fef7f31d10c.tar.gz
experimental-5d8f222851d246b9f7427d1415030fef7f31d10c.zip
Rename a few icons left in rc files
-rwxr-xr-xkde-tde/tde_action_conversion2
-rwxr-xr-xkde-tde/tde_mimetype_conversion2
2 files changed, 4 insertions, 0 deletions
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 @@ function convert_files {
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 @@ function convert_files {
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