~ubuntu-branches/ubuntu/precise/nvidia-common/precise-proposed

« back to all changes in this revision

Viewing changes to debian/nvidia-common.preinst

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Milone
  • Date: 2011-08-25 12:36:19 UTC
  • Revision ID: james.westby@ubuntu.com-20110825123619-pcdfwrlqthq8ouwz
Tags: 1:0.2.34
* debian/nvidia-common.preinst:
  - Use dpkg-maintscript-helper to remove conffiles.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
case "$1" in
21
21
    install|upgrade)
22
 
        if [ -f /etc/kernel/postinst.d/nvidia-common ]; then
23
 
            rm -f /etc/kernel/postinst.d/nvidia-common
24
 
        fi
25
 
        if [ -f /etc/kernel/header_postinst.d/nvidia-common ]; then
26
 
            rm -f /etc/kernel/header_postinst.d/nvidia-common
27
 
        fi
 
22
        dpkg-maintscript-helper rm_conffile \
 
23
           /etc/kernel/postinst.d/nvidia-common 1:0.2.32 -- "$@"
 
24
        dpkg-maintscript-helper rm_conffile \
 
25
           /etc/kernel/header_postinst.d/nvidia-common 1:0.2.32 -- "$@"
28
26
    ;;
29
27
 
30
28
    abort-upgrade)