From e742573dc1696f78dacb1cf36827e9a04f6f3514 Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 17 Aug 1999 04:41:40 +0000 Subject: r44: Initial Import --- dh_makeshlibs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'dh_makeshlibs') diff --git a/dh_makeshlibs b/dh_makeshlibs index 0943ba57..6cf9c803 100755 --- a/dh_makeshlibs +++ b/dh_makeshlibs @@ -15,8 +15,12 @@ for PACKAGE in $DH_DOPACKAGES; do for file in `find $TMP -type f -name "*.so*" | tr "\n" " "` ; do LIBRARY=`expr $file : ".*/\(.*\)\.so\..*"` || true VERSION=`expr $file : ".*/.*\.so\.\(.*\)"` || true - MAJOR=`expr $VERSION : "\([0-9]*\)\."` || true - LIBSTUB=`expr $file : "\(.*\/.*\.so\)\..*"` || true + if [ -z "$DH_M_PARAMS" ]; then + MAJOR=`expr $VERSION : "\([0-9]*\)\."` || true + else + MAJOR="$DH_M_PARAMS" + fi +# LIBSTUB=`expr $file : "\(.*\/.*\.so\)\..*"` || true if [ ! -d "$TMP/DEBIAN" ] ; then doit "install -d $TMP/DEBIAN" fi -- cgit v1.2.3