** Changed in: chromium-browser (Ubuntu)
       Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1772448

Title:
  launcher script runs Python 2 despite checking for /usr/bin/python3

Status in chromium-browser package in Ubuntu:
  Fix Committed

Bug description:
  debian/chromium-browser.sh.in contains this snippet:

  if test -x /usr/bin/python3 -a -f "/usr/lib/adobe-flashplugin/manifest.json"; 
then
        if echo "$CHROMIUM_FLAGS" |grep -E -- "--ppapi-flash-version=( |\$)"; 
then
                ver=$(python -c 'import json,sys; 
print(json.load(open("/usr/lib/adobe-flashplugin/manifest.json"))["version"]);')
                
CHROMIUM_FLAGS=${CHROMIUM_FLAGS/--ppapi-flash-version=/--ppapi-flash-version="${ver}"
 }
        fi
  fi

  Notice that it checks for the existence of "/usr/bin/python3" but then
  runs "python", ie Python 2.7.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1772448/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to