~ubuntu-audio-dev/alsa-driver/ubuntu.natty

« back to all changes in this revision

Viewing changes to debian/alsa-base.preinst

  • Committer: Daniel T Chen
  • Date: 2010-09-03 22:20:47 UTC
  • Revision ID: crimsun@ubuntu.com-20100903222047-vm0z9zrgd0cr8gzd
* debian/alsa-base.preinst:
  debian/alsa-base.postinst:
  debian/linux-sound-base.postinst:
  - Handle upgrades from lucid, too.  Thanks, Steve Langasek!
    (LP: #340873)

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
        # Delete blacklist without .conf extension
44
44
        rm_conffile /etc/modprobe.d/blacklist-alsa
45
45
        rm_conffile /etc/modprobe.d/blacklist-oss
 
46
        # Rename alsa-base
 
47
        if dpkg --compare-versions "$2" lt "1.0.23+dfsg-1ubuntu4"; then
 
48
            rm_conffile /etc/modprobe.d/alsa-base
 
49
            rm_conffile /etc/modprobe.d/blacklist-modem
 
50
        fi
46
51
        ;;
47
52
esac
48
53