diff options
author | Marco TĂșlio Gontijo e Silva <marcot@debian.org> | 2010-02-12 15:51:53 +0000 |
---|---|---|
committer | Marco TĂșlio Gontijo e Silva <marcot@debian.org> | 2010-02-12 15:51:53 +0000 |
commit | 42945b97ed0ded6851763a4cdcb68ab1bf2039e6 (patch) | |
tree | d9cb9bc8b7c45279987bc8df87cb7427585e5c69 /Dh_Haskell.sh | |
parent | 68e4de6ce2921879f7785eaea9ba41b790d4a1a6 (diff) |
Dh_Haskell.sh: Treat haskell-package dependencies that doesn't need a Debian-package.
Diffstat (limited to 'Dh_Haskell.sh')
-rw-r--r-- | Dh_Haskell.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Dh_Haskell.sh b/Dh_Haskell.sh index f7849ae..97809ac 100644 --- a/Dh_Haskell.sh +++ b/Dh_Haskell.sh @@ -114,9 +114,14 @@ depends_for_ghc6(){ if [ -z "$dep" ] then pkg=`providing_package_for_ghc6 $pkgid` - dep=`dependency $pkg` + if [ -n "$pkg" ] + then + dep=`dependency $pkg` + packages="$packages, $dep" + fi + else + packages="$packages, $dep" fi - packages="$packages, $dep" done echo $packages | sed -e 's/^,[ ]*//' |