From 5d8f222851d246b9f7427d1415030fef7f31d10c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 20 Nov 2014 13:13:47 -0600 Subject: Rename a few icons left in rc files --- kde-tde/tde_action_conversion | 2 ++ kde-tde/tde_mimetype_conversion | 2 ++ 2 files changed, 4 insertions(+) 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 -- cgit v1.2.1