~ubuntu-branches/ubuntu/saucy/dkms/saucy

« back to all changes in this revision

Viewing changes to dkms_autoinstaller

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello
  • Date: 2010-01-26 04:24:52 UTC
  • Revision ID: james.westby@ubuntu.com-20100126042452-isz9v6ag1n48205c
Tags: 2.1.1.1-0ubuntu3
Correct a minor shell error in dkms_autoinstaller (LP: #512661)

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
            else
139
139
                invoke_command "dkms install -m $module_in_tree -v $version_in_tree -k $kernel -a $arch -q" "." background
140
140
                return_status=$?
141
 
                if [ "$return_status" -eq 0 ]; then
142
 
                elif [ "$return_status" -eq 101 ]; then
 
141
                if [ "$return_status" -eq 101 ]; then
143
142
                    logger -t dkms_autoinstaller "  A newer module version than this already exists in kernel."
144
143
                    logger -t dkms_autoinstaller "  Skipping install... (you can manually install later with --force)"
145
144
                elif [ "$return_status" -ne 0 ]; then