summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-10-11 14:14:03 -0500
committerTimothy Pearson <[email protected]>2014-10-11 14:14:03 -0500
commitd2f248bce13ac8a1e94fa387fea0592472749acb (patch)
tree164c5a670b2f183787c312226ad2032fcfc88aea
parent98f93ba354e08ba08d5131fbdcf8ddebd5680835 (diff)
downloadexperimental-d2f248bce13ac8a1e94fa387fea0592472749acb.tar.gz
experimental-d2f248bce13ac8a1e94fa387fea0592472749acb.zip
Fix Keywords separators to match XDG desktop specifications
-rwxr-xr-xkde-tde/convert_existing_kde3_app_to_tde3
1 files changed, 3 insertions, 0 deletions
diff --git a/kde-tde/convert_existing_kde3_app_to_tde b/kde-tde/convert_existing_kde3_app_to_tde
index 9d0e339..982e7c1 100755
--- a/kde-tde/convert_existing_kde3_app_to_tde
+++ b/kde-tde/convert_existing_kde3_app_to_tde
@@ -489,6 +489,9 @@ xargs -r0 sed -ri \
-e "s|\<tdelistr|klistr|g" \
-e "s|kde toolbar widget|tde toolbar widget|g"
+# Convert desktop files
+find ./ -type f -iname "*.desktop" -not -iwholename '*.git*' -exec sed -i '/^Keyword/ { s,\,,;,g }' {} \;
+
# Rename files
find . -name "kio_*" | while read f; do mv "${f}" "${f/kio_/tdeio_}"; done
find . -name "kio-*" | while read f; do mv "${f}" "${f/kio-/tdeio-}"; done