Debian Wheezy (7.1) / "Package glx-alternative-mesa_0.2.2_amd64.deb" / "libGL.so-master" in "mesa-diverted" directory ?

agrume agrume at free.fr
Mon Jul 29 18:54:37 UTC 2013


( in file DEBIAN/postinst, sorry )

On 07/29/2013 08:41 PM, agrume wrote:
> -------------------------------------------------------------------------------------------------------------------------
> Considering lines 46->62 :
> -------------------------------------------------------------------------------------------------------------------------
> 46    # libGL.so.1 (from /usr/lib[/triplet]/mesa/)
> 47    slaves="$(add_multiarch_slave /usr/lib "" libGL.so.1 /usr/lib 
> mesa/)"
> 48
> 49    if echo "$slaves" | grep -q "slave" ; then
> 50        update-alternatives --install /usr/lib/glx glx /usr/lib/mesa 
> 6 $slaves
> 51    else
> 52        update-alternatives --remove glx /usr/lib/mesa
> 53    fi
> 54
> 55    # libGL.so.1 (from /usr/lib/mesa-diverted/)
> 56    slaves="$(add_multiarch_slave /usr/lib "" libGL.so.1 
> /usr/lib/mesa-diverted)"
> 57
> 58    if echo "$slaves" | grep -q "slave" ; then
> 59        update-alternatives --install /usr/lib/glx glx 
> /usr/lib/mesa-diverted 5 $slaves
> 60    else
> 61        update-alternatives --remove glx /usr/lib/mesa-diverted
> 62    fi
> -------------------------------------------------------------------------------------------------------------------------
> and lines 64->80 :
> -------------------------------------------------------------------------------------------------------------------------
> 64    # libGL.so (from /usr/lib[/triplet]/mesa/)
> 65    slaves="$(add_multiarch_slave /usr/lib "" libGL.so /usr/lib mesa/)"
> 66
> 67    if echo "$slaves" | grep -q "slave" ; then
> 68        update-alternatives --install 
> /usr/lib/mesa-diverted/libGL.so-master libGL.so-master /usr/lib/mesa 
> 9996 $slaves
> 69    else
> 70        update-alternatives --remove libGL.so-master /usr/lib/mesa
> 71    fi
> 72
> 73    # libGL.so (from /usr/lib/mesa-diverted/)
> 74    slaves="$(add_multiarch_slave /usr/lib "" libGL.so 
> /usr/lib/mesa-diverted)"
> 75
> 76    if echo "$slaves" | grep -q "slave" ; then
> 77        update-alternatives --install 
> /usr/lib/mesa-diverted/libGL.so-master libGL.so-master 
> /usr/lib/mesa-diverted 9995 $slaves
> 78    else
> 79        update-alternatives --remove libGL.so-master 
> /usr/lib/mesa-diverted
> 80    fi
> -------------------------------------------------------------------------------------------------------------------------
> shouldn't lines 68 and 77 look more like this ?
> -------------------------------------------------------------------------------------------------------------------------
> 68 update-alternatives --install /usr/lib/libGL.so-master 
> libGL.so-master /usr/lib/mesa 9996 $slaves
> 77    update-alternatives --install /usr/lib/libGL.so-master 
> libGL.so-master /usr/lib/mesa-diverted 9995 $slaves
> -------------------------------------------------------------------------------------------------------------------------
> because my /etc/alternatives directory contain an infinite suit of 
> symlinks involving libGL.so-master .
> - Regards -
> -------------------------------------------------------------------------------------------------------------------------
>
>
>
>
> _______________________________________________
> pkg-nvidia-devel mailing list
> pkg-nvidia-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-nvidia-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20130729/36f58dbb/attachment.html>


More information about the pkg-nvidia-devel mailing list