summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2018-06-24 20:06:50 (GMT)
committer Timothy Pearson <kb9vqf@pearsoncomputing.net>2018-06-24 20:06:50 (GMT)
commitf88db56fed3cf917e9a8f458840cb8169f2223e0 (patch)
treee0a2671170f5d52bee8f5ec3027e55d5cf5012c8
parentca3f9e5baf142f97f1c66dc84be2149b750a368e (diff)
downloadtdeartwork-f88db56f.zip
tdeartwork-f88db56f.tar.gz
Fix parsing of xscreensaver nameHEADorigin/masterorigin/HEADmaster
-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 ea4a457..ca9b380 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