diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2018-06-24 15:06:50 -0500 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-06-24 23:39:23 +0200 |
commit | dc481ada271480d1f3e321f256b62aff29448074 (patch) | |
tree | 221806a639bb406a9f548966958bf03aaeb8587f /tdescreensaver | |
parent | f222ccdaa66942cf94deb9259b4ced2184d8fbc8 (diff) | |
download | tdeartwork-dc481ada271480d1f3e321f256b62aff29448074.tar.gz tdeartwork-dc481ada271480d1f3e321f256b62aff29448074.zip |
Fix parsing of xscreensaver name
(cherry picked from commit f88db56fed3cf917e9a8f458840cb8169f2223e0)
Diffstat (limited to 'tdescreensaver')
-rwxr-xr-x | tdescreensaver/kxsconfig/update_hacks.sh | 2 |
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 |