[arch-commits] Commit in ghc/trunk (ghc.install)

Vesa Kaihlavirta vesa at archlinux.org
Wed Nov 23 21:18:59 UTC 2011


    Date: Wednesday, November 23, 2011 @ 16:18:58
  Author: vesa
Revision: 143238

FS#18917 

Modified:
  ghc/trunk/ghc.install

-------------+
 ghc.install |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: ghc.install
===================================================================
--- ghc.install	2011-11-23 19:36:57 UTC (rev 143237)
+++ ghc.install	2011-11-23 21:18:58 UTC (rev 143238)
@@ -4,7 +4,7 @@
     cat << EOF
     ==> Unregistering cabalized packages...
 EOF
-    cd /usr/share/haskell/ && (for a in *; do ghc-pkg unregister --force $a &> /dev/null; done; cd - > /dev/null )
+    for unreg in /usr/share/haskell/*/unregister.sh; do "$a"; done
     cat << EOF
     ==> Done.
 EOF




More information about the arch-commits mailing list