diff --git a/pkg-deps.sh b/pkg-deps.sh index 045b691..801f0c0 100755 --- a/pkg-deps.sh +++ b/pkg-deps.sh @@ -13,9 +13,9 @@ cd .pkg-deps ghc-pkg dot --global | sed '$d' > pkgs.dot # check for binary deps too -for i in alex cabal-install cpphs darcs ghc happy gtk2hs-buildtools haskell-platform hedgewars hscolour kaya xmobar xmonad; do +for i in alex cabal-install cpphs darcs ghc happy gtk2hs-buildtools haskell-platform hscolour xmobar xmonad; do PKG_THERE=yes - PKG=`rpm -q --qf "%{name}-%{version}" $i` || PKG_THERE=no + PKG=`rpm -q --qf "%{name}-%{version}" $i` || { PKG_THERE=no ; echo "missing $i" ; } if [ "$PKG_THERE" = "yes" ]; then echo \"$PKG\" >> pkgs.dot case $i in