diff options
author | Siggi Langauf <siggi@users.sourceforge.net> | 2001-10-30 15:30:49 +0000 |
---|---|---|
committer | Siggi Langauf <siggi@users.sourceforge.net> | 2001-10-30 15:30:49 +0000 |
commit | 4fcaad3cc22fcbefa85987502ece8b48628c7110 (patch) | |
tree | 128a6fea57aa22b085718a029d9449474ff84d19 /debian/shlibdeps.sh | |
parent | 41a9a9757c5955b8fe4a34a38202cd9b9485bbba (diff) | |
download | xine-lib-4fcaad3cc22fcbefa85987502ece8b48628c7110.tar.gz xine-lib-4fcaad3cc22fcbefa85987502ece8b48628c7110.tar.bz2 |
added changes up to 0.9.2-3
CVS patchset: 916
CVS date: 2001/10/30 15:30:49
Diffstat (limited to 'debian/shlibdeps.sh')
-rwxr-xr-x | debian/shlibdeps.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/shlibdeps.sh b/debian/shlibdeps.sh index c602cea8c..0f07ca3a8 100755 --- a/debian/shlibdeps.sh +++ b/debian/shlibdeps.sh @@ -27,5 +27,22 @@ for file in `echo $OPTIONAL $RECOMMENDED`; do REQUIRED=`echo "$REQUIRED" | grep -v $file` done + +# remove nonexisting files, warn in that case +for file in $RECOMMENDED; do + if test ! -f "$file"; then + echo "WARNING: non-existing file \"$file\" in RECOMMENDED list" + RECOMMENDED=`echo "$var" | grep -v $file` + fi +done +for file in $OPTIONAL; do + if test ! -f "$file"; then + echo "WARNING: non-existing file \"$file\" in OPTIONAL list" + OPTIONAL=`echo "$var" | grep -v $file` + fi +done + + + dpkg-shlibdeps -Tdebian/$1.substvars \ $REQUIRED -dRecommends $RECOMMENDED -dSuggests $OPTIONAL |