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