~ubuntu-branches/ubuntu/wily/dkms/wily

« back to all changes in this revision

Viewing changes to dkms

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2013-05-29 08:31:34 UTC
  • Revision ID: package-import@ubuntu.com-20130529083134-ae0nz12lj3o6czr2
Tags: 2.2.0.3-1.1ubuntu4
* apport_python3.patch: Fix bug links in header.
* apport_python3.patch: Call package hook through python3, not python.
  (LP: #1171344)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3032
3032
report_build_problem()
3033
3033
{
3034
3034
    #If apport is on the system, files a build problem
3035
 
    if [ -x /usr/share/apport/apport ] && which python>/dev/null; then
3036
 
        python /usr/share/apport/package-hooks/dkms_packages.py -m $module -v $module_version -k ${kernelver[0]}
 
3035
    if [ -x /usr/share/apport/apport ] && which python3 >/dev/null; then
 
3036
        python3 /usr/share/apport/package-hooks/dkms_packages.py -m $module -v $module_version -k ${kernelver[0]}
3037
3037
    fi
3038
3038
    die "$@"
3039
3039
}