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

Vesa Kaihlavirta vesa at archlinux.org
Fri Jan 15 02:43:52 EST 2010


    Date: Friday, January 15, 2010 @ 02:43:52
  Author: vesa
Revision: 63146

disable warnings on pre_upgrade

Modified:
  haskell-network/trunk/haskell-network.install

-------------------------+
 haskell-network.install |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: haskell-network.install
===================================================================
--- haskell-network.install	2010-01-15 07:35:20 UTC (rev 63145)
+++ haskell-network.install	2010-01-15 07:43:52 UTC (rev 63146)
@@ -3,10 +3,11 @@
   ${HS_DIR}/register.sh
 }
 pre_upgrade() {
-  ${HS_DIR}/unregister.sh
+  ${HS_DIR}/unregister.sh &>/dev/null
+  exit 0
 }
 post_upgrade() {
-  ${HS_DIR}/register.sh
+  ${HS_DIR}/register.sh &>/dev/null
 }
 pre_remove() {
   ${HS_DIR}/unregister.sh



More information about the arch-commits mailing list