~ubuntu-branches/ubuntu/maverick/nvidia-graphics-drivers-173/maverick

« back to all changes in this revision

Viewing changes to debian/nvidia-173.postinst.in

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Milone
  • Date: 2010-01-19 11:56:57 UTC
  • Revision ID: james.westby@ubuntu.com-20100119115657-hjkn0aw78c953hmu
Tags: 173.14.22-0ubuntu5
* debian/compat:
  - Bump compatibility to 5.
* debian/nvidia-173.install.in:
  - Remove any reference to vdpau.
* debian/nvidia-173.postinst.in:
  - Install alternative with --force so that files that
    already exist (from unofficial PPAs or from the Nvidia
    installer, etc.) are overwritten thus avoiding to
    install a broken alternative.
* debian/rules:
  - Use global replacement when generating files from
    templates.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
          
31
31
        current_glconf="$(readlink -e #SYSCONFDIR#/ld.so.conf.d/GL.conf)"
32
32
 
33
 
        update-alternatives \
 
33
        update-alternatives --force \
34
34
            --install #SYSCONFDIR#/ld.so.conf.d/GL.conf gl_conf #LDSOCONF# #ALTPRIORITY# \
35
35
            --slave #MANDIR#/nvidia-xconfig.1.gz man_nvidiaxconfig.gz #MANDIR#/alt-#DRIVERNAME#-xconfig.1.gz \
36
36
            --slave #DATADIR#/applications/ubuntu-nvidia-settings.desktop nvidia_desktop #PKGDESKDIR#/ubuntu-nvidia-settings.desktop \