Date: Monday, January 30, 2023 @ 08:48:31
  Author: felixonmars
Revision: 1391189

upgpkg: ghc 9.0.2-3: run ghc-pkg recache on rebuilds (FS#77326)

Modified:
  ghc/trunk/PKGBUILD
  ghc/trunk/ghc.install

-------------+
 PKGBUILD    |    2 +-
 ghc.install |    2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-30 07:47:16 UTC (rev 1391188)
+++ PKGBUILD    2023-01-30 08:48:31 UTC (rev 1391189)
@@ -12,7 +12,7 @@
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
 pkgver=9.0.2
-pkgrel=2
+pkgrel=3
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('x86_64')
 url='https://www.haskell.org/ghc/'

Modified: ghc.install
===================================================================
--- ghc.install 2023-01-30 07:47:16 UTC (rev 1391188)
+++ ghc.install 2023-01-30 08:48:31 UTC (rev 1391189)
@@ -8,5 +8,7 @@
   if [[ ${1%-*} != ${2%-*} ]]; then
     echo '==> If you have custom packages installed, you will need to 
reinstall them now.'
     echo "==> See /usr/lib/ghc-${2%-*}/package.conf.d/ for a tentative list of 
affected packages."
+  else
+    ghc-pkg recache
   fi
 }

Reply via email to