I can confirm that Cedric's solution worked for me. But I'd prefer not
hard coding the distribution name in the script.
So this is how I changed /opt/teamviewer8/tv_bin/script/tvw_main, it
should work even after you upgrade your distribution to a new release,
as long /etc/lsb_release file is upgraded fine:
function LogStartupInfo()
{
exec 2>&1 # redirect stderr
echo "TeamViewer: $TV_VERSION"
echo "Profile: $HOME ($LOGNAME)"
echo "Desktop: $DESKTOP_SESSION"
if [ -x "$(type -p lsb_release)" ] ; then # log information about the Linu
x distribution
#lsb_release -a
make_path "$WINEPREFIX/drive_c"
cat /etc/lsb-release | grep DESCRIPTION | cut -f2 -d= | sed 's/\"//g' >
"$WINEPREFIX/drive_c/distrelease"
else
echo /etc/*-release
for rfile in /etc/*-release ; do # echo the head of the first val
id *-release file
if [ -e "$rfile" ] ; then
cat $rfile | head -n 10
break
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1094218
Title:
lsb_release crashed with IOError in getstatusoutput(): [Errno 10] No
child processes
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/1094218/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs