summaryrefslogtreecommitdiff
path: root/Dh_Haskell.sh
diff options
context:
space:
mode:
authorMarco TĂșlio Gontijo e Silva <marcot@debian.org>2010-02-12 15:47:23 +0000
committerMarco TĂșlio Gontijo e Silva <marcot@debian.org>2010-02-12 15:47:23 +0000
commit68e4de6ce2921879f7785eaea9ba41b790d4a1a6 (patch)
treec8f373ec307c2975645284dd8b1436403b73b228 /Dh_Haskell.sh
parentc66af097cd87272a7fdea80c8069bc0307504b03 (diff)
Dh_Haskell.sh: Remove packages without hash-id from the list.
Diffstat (limited to 'Dh_Haskell.sh')
-rw-r--r--Dh_Haskell.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dh_Haskell.sh b/Dh_Haskell.sh
index fffc750..f7849ae 100644
--- a/Dh_Haskell.sh
+++ b/Dh_Haskell.sh
@@ -161,6 +161,7 @@ package_id_to_virtual_package(){
local type
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/'
}