This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch dev-alternatives
in repository hdf5.

commit 5b4ca4316d22cdca5dadd9d9a9d7a75954b75e7e
Author: Alastair McKinstry <mckins...@debian.org>
Date:   Wed Jun 4 05:12:29 2014 +0100

    Fix update-alternative syntax errors
---
 debian/libhdf5-flavor-dev.postinst.in | 54 ++++++++++++++++++-----------------
 1 file changed, 28 insertions(+), 26 deletions(-)

diff --git a/debian/libhdf5-flavor-dev.postinst.in 
b/debian/libhdf5-flavor-dev.postinst.in
index d27da51..585f10a 100644
--- a/debian/libhdf5-flavor-dev.postinst.in
+++ b/debian/libhdf5-flavor-dev.postinst.in
@@ -2,6 +2,8 @@
 
 set -e
 
+ LIB=/usr/lib/@MULTIARCH@
+
  if [ "@FLAVOR@" != "serial" ]; then
   update-alternatives \
        --install /usr/bin/h5pcc h5pcc /usr/bin/h5pcc.@FLAVOR@ 50 \
@@ -10,34 +12,34 @@ set -e
        --slave /usr/share/man/man1/h5pfc.1.gz h5pfc.1.gz 
/usr/share/man/man1/h5pfc.@fla...@.1.gz 
  else 
   update-alternatives \
-       --install /usr/lib/@MULTIARCH@/pkgconfig/hdf5-mpi.pc           
/usr/lib/@MULTIARCH@/pkgconfig/hdf5-@FLAVOR@.pc \
-        --slave /usr/lib/@MULTIARCH@/libhdf5_mpi.so.8.0.2              
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@.so.8.0.2 \
-        --slave /usr/lib/@MULTIARCH@/libhdf5_mpi_hl.so.8.0.2           
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@_hl.so.8.0.2 \
-        --slave /usr/lib/@MULTIARCH@/libhdf5_mpi_fortran.so.8.0.2      
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@_fortran.so.8.0.2 \
-        --slave /usr/lib/@MULTIARCH@/libhdf5_mpi_hl_fortran.so.8.0.2   
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@_hl_fortran.so.8.0.2  \
-        --slave /usr/lib/@MULTIARCH@/libhdf5_mpi.so.8                  
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@.so.8.0.2 \
-        --slave /usr/lib/@MULTIARCH@/libhdf5_mpi_hl.so.8               
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@_hl.so.8.0.2 \
-        --slave /usr/lib/@MULTIARCH@/libhdf5_mpi_fortran.so.8          
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@_fortran.so.8.0.2 \
-        --slave /usr/lib/@MULTIARCH@/libhdf5_mpi_hl_fortran.so.8       
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@_hl_fortran.so.8.0.2 \
-        --slave /usr/lib/@MULTIARCH@/libhdf5_mpi.so                    
/usr/lib/@MULTIARCH@/libhdf5-@FLAVOR@.so.8.0.2 \
-        --slave /usr/lib/@MULTIARCH@/libhdf5_mpi_hl.so                 
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@_hl.so.8.0.2 \
-        --slave /usr/lib/@MULTIARCH@/libhdf5_mpi_fortran.so            
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@_fortran.so.8.0.2 \
-        --slave /usr/lib/@MULTIARCH@/libhdf5_mpi_hl_fortran.so         
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@_hl_fortran.so.8.0.2
+        --install ${LIB}/pkgconfig/hdf5-mpi.pc         hdf5-mpi.pc             
        ${LIB}/pkgconfig/hdf5-@FLAVOR@.pc 50 \
+        --slave ${LIB}/libhdf5_mpi.so.8.0.2             libhdf5_mpi.so.8.0.2   
        ${LIB}/libhdf5@FLAVORLIB@.so.8.0.2 \
+        --slave ${LIB}/libhdf5_mpi_hl.so.8.0.2          
libhdf5_mpi_hl.so.8.0.2        ${LIB}/libhdf5@FLAVORLIB@_hl.so.8.0.2 \
+        --slave ${LIB}/libhdf5_mpi_fortran.so.8.0.2     
libhdf5_mpi_fortran.so.8.0.2   ${LIB}/libhdf5@FLAVORLIB@_fortran.so.8.0.2 \
+        --slave ${LIB}/libhdf5_mpi_hl_fortran.so.8.0.2  
libhdf5_mpi_hl_fortran.so.8.0.2 ${LIB}/libhdf5@FLAVORLIB@_hl_fortran.so.8.0.2  \
+        --slave ${LIB}/libhdf5_mpi.so.8                 libhdf5_mpi.so.8       
        ${LIB}/libhdf5@FLAVORLIB@.so.8.0.2 \
+        --slave ${LIB}/libhdf5_mpi_hl.so.8              libhdf5_mpi_hl.so.8    
        ${LIB}/libhdf5@FLAVORLIB@_hl.so.8.0.2 \
+        --slave ${LIB}/libhdf5_mpi_fortran.so.8         
libhdf5_mpi_fortran.so.8       ${LIB}/libhdf5@FLAVORLIB@_fortran.so.8.0.2 \
+        --slave ${LIB}/libhdf5_mpi_hl_fortran.so.8      
libhdf5_mpi_hl_fortran.so.8    ${LIB}/libhdf5@FLAVORLIB@_hl_fortran.so.8.0.2 \
+        --slave ${LIB}/libhdf5_mpi.so                   libhdf5_mpi.so         
        ${LIB}/libhdf5-@FLAVOR@.so.8.0.2 \
+        --slave ${LIB}/libhdf5_mpi_hl.so                libhdf5_mpi_hl.so      
        ${LIB}/libhdf5@FLAVORLIB@_hl.so.8.0.2 \
+        --slave ${LIB}/libhdf5_mpi_fortran.so           libhdf5_mpi_fortran.so 
        ${LIB}/libhdf5@FLAVORLIB@_fortran.so.8.0.2 \
+        --slave ${LIB}/libhdf5_mpi_hl_fortran.so        
libhdf5_mpi_hl_fortran.so      ${LIB}/libhdf5@FLAVORLIB@_hl_fortran.so.8.0.2
  fi
  update-alternatives \
-       --install /usr/lib/@MULTIARCH@/pkgconfig/hdf5.pc               
/usr/lib/@MULTIARCH@/pkgconfig/hdf5-@FLAVOR@.pc \
-       --slave /usr/lib/@MULTIARCH@/libhdf5.so.8.0.2                  
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@.so.8.0.2 \
-       --slave /usr/lib/@MULTIARCH@/libhdf5_hl.so.8.0.2               
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@_hl.so.8.0.2 \
-       --slave /usr/lib/@MULTIARCH@/libhdf5_fortran.so.8.0.2          
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@_fortran.so.8.0.2 \
-       --slave /usr/lib/@MULTIARCH@/libhdf5_hl_fortran.so.8.0.2       
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@_hl_fortran.so.8.0.2  \
-       --slave /usr/lib/@MULTIARCH@/libhdf5.so.8                      
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@.so.8.0.2 \
-       --slave /usr/lib/@MULTIARCH@/libhdf5_hl.so.8                   
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@_hl.so.8.0.2 \
-       --slave /usr/lib/@MULTIARCH@/libhdf5_fortran.so.8              
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@_fortran.so.8.0.2 \
-       --slave /usr/lib/@MULTIARCH@/libhdf5_hl_fortran.so.8           
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@_hl_fortran.so.8.0.2 \
-        --slave /usr/lib/@MULTIARCH@/libhdf5.so                        
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@.so.8.0.2 \
-        --slave /usr/lib/@MULTIARCH@/libhdf5_hl.so                      
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@_hl.so.8.0.2 \
-        --slave /usr/lib/@MULTIARCH@/libhdf5_fortran.so                
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@_fortran@so.8.0.2 \
-        --slave /usr/lib/@MULTIARCH@/libhdf5_hl_fortran.so             
/usr/lib/@MULTIARCH@/libhdf5@FLAVORLIB@_hl_fortran.so.8.0.2
+       --install ${LIB}/pkgconfig/hdf5.pc              hdf5.pc                 
        ${LIB}/pkgconfig/hdf5-@FLAVOR@.pc 50 \
+       --slave ${LIB}/libhdf5.so.8.0.2                 libhdf5.so.8.0.2        
        ${LIB}/libhdf5@FLAVORLIB@.so.8.0.2 \
+       --slave ${LIB}/libhdf5_hl.so.8.0.2              libhdf5_hl.so.8.0.2     
        ${LIB}/libhdf5@FLAVORLIB@_hl.so.8.0.2 \
+       --slave ${LIB}/libhdf5_fortran.so.8.0.2         
libhdf5_fortran.so.8.0.2        ${LIB}/libhdf5@FLAVORLIB@_fortran.so.8.0.2 \
+       --slave ${LIB}/libhdf5_hl_fortran.so.8.0.2      
libhdf5_hl_fortran.so.8.0.2     ${LIB}/libhdf5@FLAVORLIB@_hl_fortran.so.8.0.2  \
+       --slave ${LIB}/libhdf5.so.8                     libhdf5.so.8            
        ${LIB}/libhdf5@FLAVORLIB@.so.8.0.2 \
+       --slave ${LIB}/libhdf5_hl.so.8                  libhdf5_hl.so.8         
        ${LIB}/libhdf5@FLAVORLIB@_hl.so.8.0.2 \
+       --slave ${LIB}/libhdf5_fortran.so.8             libhdf5_fortran.so.8    
        ${LIB}/libhdf5@FLAVORLIB@_fortran.so.8.0.2 \
+       --slave ${LIB}/libhdf5_hl_fortran.so.8          libhdf5_hl_fortran.so.8 
        ${LIB}/libhdf5@FLAVORLIB@_hl_fortran.so.8.0.2 \
+        --slave ${LIB}/libhdf5.so                       libhdf5.so             
        ${LIB}/libhdf5@FLAVORLIB@.so.8.0.2 \
+        --slave ${LIB}/libhdf5_hl.so                    libhdf5_hl.so          
        ${LIB}/libhdf5@FLAVORLIB@_hl.so.8.0.2 \
+        --slave ${LIB}/libhdf5_fortran.so               libhdf5_fortran.so     
        ${LIB}/libhdf5@FLAVORLIB@_fortran@so.8.0.2 \
+        --slave ${LIB}/libhdf5_hl_fortran.so            libhdf5_hl_fortran.so  
        ${LIB}/libhdf5@FLAVORLIB@_hl_fortran.so.8.0.2
 
 #DEBHELPER#
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/hdf5.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to