diff --git a/cblrepo.cabal b/cblrepo.cabal
--- a/cblrepo.cabal
+++ b/cblrepo.cabal
@@ -1,5 +1,5 @@
 name: cblrepo
-version: 0.7.1
+version: 0.7.2
 cabal-version: >= 1.6
 license: OtherLicense
 license-file: LICENSE-2.0
diff --git a/src/Util/Misc.hs b/src/Util/Misc.hs
--- a/src/Util/Misc.hs
+++ b/src/Util/Misc.hs
@@ -65,7 +65,7 @@
 progName = "cblrepo"
 dbName = progName ++ ".db"
 
-ghcVersion = (Version [7,6,1] [])
+ghcVersion = (Version [7, 6, 2] [])
 ghcVersionDep = "ghc=" ++ display ghcVersion ++ "-1"
 
 -- {{{1 command line argument type
diff --git a/src/Util/Translation.hs b/src/Util/Translation.hs
--- a/src/Util/Translation.hs
+++ b/src/Util/Translation.hs
@@ -253,20 +253,20 @@
             where
                 postInstallFunction = text "post_install() {" <>
                     nest 4 (empty <$> text "${HS_DIR}/register.sh" <$>
-                        text "(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)") <$>
+                        text "/usr/share/doc/ghc/html/libraries/arch-gen-contents-index") <$>
                     char '}'
                 preUpgradeFunction = text "pre_upgrade() {" <>
                     nest 4 (empty <$> text "${HS_DIR}/unregister.sh") <$>
                     char '}'
                 postUpgradeFunction = text "post_upgrade() {" <>
                     nest 4 (empty <$> text "${HS_DIR}/register.sh" <$>
-                        text "(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)") <$>
+                        text "/usr/share/doc/ghc/html/libraries/arch-gen-contents-index") <$>
                     char '}'
                 preRemoveFunction = text "pre_remove() {" <>
                     nest 4 (empty <$> text "${HS_DIR}/unregister.sh") <$>
                     char '}'
                 postRemoveFunction = text "post_remove() {" <>
-                    nest 4 (empty <$> text "(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)") <$>
+                    nest 4 (empty <$> text "/usr/share/doc/ghc/html/libraries/arch-gen-contents-index") <$>
                     char '}'
 
 -- {{{1 extra instances
