[libreoffice] don't want double space in Name key in desktop files
David Tardon
dtardon at fedoraproject.org
Fri Jun 3 16:50:27 UTC 2011
commit 3f404e25ba90a97f250f8ee55c7d7ee3baacdc43
Author: David Tardon <dtardon at redhat.com>
Date: Fri Jun 3 18:47:53 2011 +0200
don't want double space in Name key in desktop files
libreoffice.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libreoffice.spec b/libreoffice.spec
index 2eaf42d..18888e6 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -1157,7 +1157,7 @@ ICONVERSION=`echo $PRODUCTVERSION | sed -e 's/\.//'`
for file in *.desktop; do
# rhbz#156677 remove the version from Name=
# rhbz#156067 don't version the icons
- sed -i -e "s/$PRODUCTVERSION//g" \
+ sed -i -e "s/$PRODUCTVERSION *//g" \
-e "s/$ICONVERSION//g" \
-e "s/$PRODUCTVERSIONSHORT//g" \
$file
More information about the scm-commits
mailing list