[arch-commits] Commit in haskell-xhtml/trunk (PKGBUILD haskell-xhtml.install)

Vesa Kaihlavirta vesa at archlinux.org
Tue Jan 19 07:00:46 UTC 2010


    Date: Tuesday, January 19, 2010 @ 02:00:46
  Author: vesa
Revision: 63978

fix install

Modified:
  haskell-xhtml/trunk/PKGBUILD
  haskell-xhtml/trunk/haskell-xhtml.install

-----------------------+
 PKGBUILD              |    2 +-
 haskell-xhtml.install |    5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-01-19 06:55:57 UTC (rev 63977)
+++ PKGBUILD	2010-01-19 07:00:46 UTC (rev 63978)
@@ -2,7 +2,7 @@
 # Contributor: Arch Haskell Team <arch-haskell at haskell.org>
 pkgname=haskell-xhtml
 pkgver=3000.2.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Combinators for producing XHTML 1.0, including the Strict, Transitional and Frameset variants."
 url="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/xhtml"
 license=('custom:BSD3')

Modified: haskell-xhtml.install
===================================================================
--- haskell-xhtml.install	2010-01-19 06:55:57 UTC (rev 63977)
+++ haskell-xhtml.install	2010-01-19 07:00:46 UTC (rev 63978)
@@ -1,9 +1,10 @@
-HS_DIR=/usr/share/haskell/haskell-html
+HS_DIR=/usr/share/haskell/haskell-xhtml
 post_install() {
   ${HS_DIR}/register.sh
 }
 pre_upgrade() {
-  ${HS_DIR}/unregister.sh
+  ${HS_DIR}/unregister.sh &> /dev/null
+  exit 0
 }
 post_upgrade() {
   ${HS_DIR}/register.sh




More information about the arch-commits mailing list