summaryrefslogtreecommitdiffstats
path: root/tdescreensaver/kxsconfig
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2018-06-24 15:06:50 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2018-06-24 15:06:50 -0500
commitf88db56fed3cf917e9a8f458840cb8169f2223e0 (patch)
treee0a2671170f5d52bee8f5ec3027e55d5cf5012c8 /tdescreensaver/kxsconfig
parentca3f9e5baf142f97f1c66dc84be2149b750a368e (diff)
downloadtdeartwork-f88db56fed3cf917e9a8f458840cb8169f2223e0.tar.gz
tdeartwork-f88db56fed3cf917e9a8f458840cb8169f2223e0.zip
Fix parsing of xscreensaver name
Diffstat (limited to 'tdescreensaver/kxsconfig')
-rwxr-xr-xtdescreensaver/kxsconfig/update_hacks.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdescreensaver/kxsconfig/update_hacks.sh b/tdescreensaver/kxsconfig/update_hacks.sh
index ea4a457f..ca9b3804 100755
--- a/tdescreensaver/kxsconfig/update_hacks.sh
+++ b/tdescreensaver/kxsconfig/update_hacks.sh
@@ -38,7 +38,7 @@ done
for name in $scsvs; do
if test -f "${XSDIR}/$name" && test -f "/usr/share/xscreensaver/config/$name.xml" && test ! -f "ScreenSavers/$name.desktop"; then
echo "name: $name"
- label=`grep '<screensaver.*_label' /usr/share/xscreensaver/config/$name.xml | sed -e 's#^.*_label=\"\(.*\)\".*$#\1#'`
+ label=`grep '<screensaver.*_label' /usr/share/xscreensaver/config/$name.xml | sed -e 's#^.*_label=\"\([^"]*\)\".*$#\1#'`
echo "label: $label"
f=ScreenSavers/$name.desktop
sed -e "s#@NAME@#$name#; s#@LABEL@#$label#" ScreenSavers/xscreensaver.template > $f