//bugs.freedesktop.org/show_bug.cgi?id=2240) attachment #1642
(https://bugs.freedesktop.org/attachment.cgi?id=1642): Fix incorrect usage of /usr/bin/tr in startup script (the used "[\n]" is neither correct or portable, using "\n" seems to be sufficient (this fixes various "random" issues, including including Debian bug #258419 and Debian bug #264983). Patch by Drew Parsons <dparsons@debian.org>.
This commit is contained in:
parent
709a2343a8
commit
2410b61f43
|
@ -248,7 +248,7 @@ get_fontlist_from_xfs_config()
|
|||
tok="${val#*=}"
|
||||
done
|
||||
done
|
||||
) | tr "," "[\n]" | fontpath2fontlist
|
||||
) | tr "," "\n" | fontpath2fontlist
|
||||
}
|
||||
|
||||
get_fontlist_from_all_xfs_configs()
|
||||
|
@ -832,7 +832,7 @@ do_get_xpserverlist()
|
|||
echo ${display}
|
||||
fi
|
||||
)
|
||||
done | tr "[\n]" " "
|
||||
done | tr "\n" " "
|
||||
)
|
||||
# Only produce output if we have some entries...
|
||||
[ "${xpserverlist}" != "" ] && echo "${xpserverlist}"
|
||||
|
|
Loading…
Reference in New Issue