~fginther/+junk/python2or3.2

« back to all changes in this revision

Viewing changes to medium-tests-generic/target-override/usr/local/bin/run-autopilot.sh

  • Committer: Francis Ginther
  • Date: 2014-02-24 18:57:13 UTC
  • Revision ID: francis.ginther@canonical.com-20140224185713-x8sz057g50iv1xs6
Refine python3 check to python3-autopilot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
                  package_name=`dpkg -I $i | grep Package | cut -d " " -f 3`
64
64
                  apt-cache policy $package_name >> $AP_SETUP_LOGFILE
65
65
                  package_list="$package_list $package_name"
66
 
                  if apt-cache depends $package_name | grep python3; then
 
66
                  if apt-cache depends $package_name | grep python3-autopilot; then
67
67
                    echo "Found a python3 dependency: $package_name" >> $AP_SETUP_LOGFILE
68
68
                    python_to_use=python3
69
69
                  fi