~ubuntu-branches/ubuntu/utopic/dkms/utopic-proposed

« back to all changes in this revision

Viewing changes to dkms

  • Committer: Package Import Robot
  • Author(s): Felix Geyer
  • Date: 2012-07-26 11:43:22 UTC
  • mfrom: (2.1.19 sid)
  • Revision ID: package-import@ubuntu.com-20120726114322-vjtfqxvkgd2y4t2a
Tags: 2.2.0.3-1.1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add apport_supported_kernel_packages.diff:
    Only report bugs about supported kernel versions.
  - Add Add-support-for-forcing-modules-installation.patch, backported
    from trunk:
    Add support to force module installation by adding files to
    /usr/share/dkms/modules_to_force_install
  - Add apport_python3.patch: Port apport hook to Python 3 and
    take care of opening the output file in binary mode
  - debian/control: added 'dpkg-dev' and 'debhelper' to Suggests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1611
1611
            echo $" - Uninstallation"
1612
1612
            echo $"   - Deleting from: $install_tree/$1${real_dest_module_location}/"
1613
1613
            rm -f "$install_tree/$1${real_dest_module_location}/${dest_module_name[$count]}$module_suffix"
 
1614
            dir_to_remove="${real_dest_module_location#/}"
 
1615
            while [ "${dir_to_remove}" != "${dir_to_remove#/}" ]; do dir_to_remove="${dir_to_remove#/}" ; done
 
1616
            (cd "$install_tree/$1" && rmdir --parents --ignore-fail-on-non-empty "${dir_to_remove}" || true)
1614
1617
            echo $" - Original module"
1615
1618
            if [[ -e $dkms_tree/$module/original_module/$1/$2/${dest_module_name[$count]}$module_suffix ]]; then
1616
1619
                case "$running_distribution" in