From f36177d904e0fb03900b6408f413dfffa1ea0976 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 24 Nov 2014 20:19:36 -0600 Subject: [PATCH] Fix incorrect icons in ui 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 09ac110..175c258 100755 --- a/kde-tde/tde_action_conversion +++ b/kde-tde/tde_action_conversion @@ -45,6 +45,8 @@ function convert_files { find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i "s/Icon(\"$1\"/Icon(\"$2\"/g" {} \; find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i "s/Icon( \"$1\"/Icon( \"$2\"/g" {} \; + find ./ -type f -iname "*.ui*" -not -iwholename '*.git*' -exec sed -i "s/\"$1\"/\"$2\"/g" {} \; + find ./ -type f -iname "*.directory" -not -iwholename '*.git*' -exec sed -i "s/Icon=$1/Icon=$2/g" {} \; 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" {} \; diff --git a/kde-tde/tde_mimetype_conversion b/kde-tde/tde_mimetype_conversion index a4e2ae7..cd2c744 100755 --- a/kde-tde/tde_mimetype_conversion +++ b/kde-tde/tde_mimetype_conversion @@ -45,6 +45,8 @@ function convert_files { find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i "s/Icon(\"$1\"/Icon(\"$2\"/g" {} \; find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i "s/Icon( \"$1\"/Icon( \"$2\"/g" {} \; + find ./ -type f -iname "*.ui*" -not -iwholename '*.git*' -exec sed -i "s/\"$1\"/\"$2\"/g" {} \; + find ./ -type f -iname "*.directory" -not -iwholename '*.git*' -exec sed -i "s/Icon=$1/Icon=$2/g" {} \; 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" {} \;