From 9d63a496e3e93d60138e3d49d4e3b07be4437095 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 13 Sep 2010 13:40:56 +1000 Subject: [PATCH] add xmobar to pkg-deps.sh and ignore ghc-rpm-macros --- pkg-deps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg-deps.sh b/pkg-deps.sh index f20e0ae..045b691 100755 --- a/pkg-deps.sh +++ b/pkg-deps.sh @@ -13,7 +13,7 @@ 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 xmonad; do +for i in alex cabal-install cpphs darcs ghc happy gtk2hs-buildtools haskell-platform hedgewars hscolour kaya xmobar xmonad; do PKG_THERE=yes PKG=`rpm -q --qf "%{name}-%{version}" $i` || PKG_THERE=no if [ "$PKG_THERE" = "yes" ]; then @@ -30,7 +30,7 @@ for i in alex cabal-install cpphs darcs ghc happy gtk2hs-buildtools haskell-plat done # make sure all libs there -rpm -qa --qf "\"%{name}-%{version}\"\n" ghc-\* | egrep -v -- "(ghc-libs|-prof|-devel|-doc)-" | sed -e s/^\"ghc-/\"/g >> pkgs.dot +rpm -qa --qf "\"%{name}-%{version}\"\n" ghc-\* | egrep -v -- "(ghc-libs|-prof|-devel|-doc|rpm-macros)-" | sed -e s/^\"ghc-/\"/g >> pkgs.dot # and add it back echo "}" >> pkgs.dot