From 7799140415e66b899070b2a2c00221465ab03b25 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 30 Nov 2010 19:22:17 +1000 Subject: [PATCH] update pkg-deps.sh not to assume ghc6 --- pkg-deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg-deps.sh b/pkg-deps.sh index d3b1d1e..15bf088 100755 --- a/pkg-deps.sh +++ b/pkg-deps.sh @@ -24,7 +24,7 @@ for i in alex cabal-install ghc happy gtk2hs-buildtools haskell-platform xmobar; rpm -q --requires $i | grep -v rpmlib | grep -v ghc | sed -e "s/^/\"$PKG\" -> \"/g" -e "s/ = \(.*\)/-\1\"/" >> pkgs.dot ;; *) - rpm -q --requires $i | grep ghc6 | sed -e "s/libHS/\"$PKG\" -> \"/g" -e "s/-ghc6.*/\"/" >> pkgs.dot + rpm -q --requires $i | grep -- -ghc | sed -e "s/libHS/\"$PKG\" -> \"/g" -e "s/-ghc.*/\"/" >> pkgs.dot ;; esac fi