Comment 43 for bug 1094218

Revision history for this message
Strategos (psamaras1) wrote :

To clear out my small confusion with comments #39 and #40:

It is changes on 2 lines of code
1. Open file as root: "/opt/teamviewer8/tv_bin/script/tvw_main"
2. Find section: function LogStartupInfo()
3. Change current code:

if [ -x "$(type -p lsb_release)" ] ; then # log information about the Linux distribution
    lsb_release -a
    make_path "$WINEPREFIX/drive_c"
    lsb_release -ds > "$WINEPREFIX/drive_c/distrelease"
  else

to look like this:

if [ -x "$(type -p lsb_release)" ] ; then # log information about the Linux distribution
    #lsb_release -a # TempFix(Bug#1094218)
    make_path "$WINEPREFIX/drive_c"
    cat /etc/lsb-release | grep DESCRIPTION | cut -f2 -d= | sed 's/\"//g' > "$WINEPREFIX/drive_c/distrelease" # TempFix(Bug#1094218)

4. Save file

Please confirm or alter as needed.