diff options
author | Joachim Breitner <mail@joachim-breitner.de> | 2010-02-17 12:53:21 +0000 |
---|---|---|
committer | Joachim Breitner <mail@joachim-breitner.de> | 2010-02-17 12:53:21 +0000 |
commit | 02f8fba2630658fbf365b7995c32005a4b9eb83f (patch) | |
tree | 3673a730dcaef54805c454ddd52f9a00ccb81ff5 /Dh_Haskell.sh | |
parent | cb9cc18cfc266e7db1385022ce9cb3ef624e7a40 (diff) |
Fix dh_haskell_provides with packages with a dash in the cabal name
Diffstat (limited to 'Dh_Haskell.sh')
-rw-r--r-- | Dh_Haskell.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Dh_Haskell.sh b/Dh_Haskell.sh index 451bdf6..ea31f79 100644 --- a/Dh_Haskell.sh +++ b/Dh_Haskell.sh @@ -167,7 +167,7 @@ package_id_to_virtual_package(){ type="$1" echo $2 | tr A-Z a-z | \ grep '[a-z0-9]\+-[0-9\.]\+-................................' | \ - perl -pe 's/([a-z0-9]+)-([0-9\.]+)-(.....).........................../libghc6-\1-'$type'-\2-\3/' + perl -pe 's/([a-z0-9-]+)-([0-9\.]+)-(.....).........................../libghc6-\1-'$type'-\2-\3/' } depends_for_hugs(){ |