From d265f626af54452ef06c80f5da0af9034c656694 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 7 Apr 2016 12:09:42 +0000
Subject: LinHES-system: clear msg_client queue in system.install to ensure
 there are no messages being shown

---
 abs/core/LinHES-system/PKGBUILD       | 2 +-
 abs/core/LinHES-system/system.install | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/abs/core/LinHES-system/PKGBUILD b/abs/core/LinHES-system/PKGBUILD
index 4aa1d94..5ce693a 100755
--- a/abs/core/LinHES-system/PKGBUILD
+++ b/abs/core/LinHES-system/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-system
 pkgver=8.4
-pkgrel=4
+pkgrel=5
 arch=('i686' 'x86_64')
 install=system.install
 pkgdesc="Everything that makes LinHES an automated system"
diff --git a/abs/core/LinHES-system/system.install b/abs/core/LinHES-system/system.install
index 6975070..ae787f2 100644
--- a/abs/core/LinHES-system/system.install
+++ b/abs/core/LinHES-system/system.install
@@ -22,6 +22,7 @@ post_install() {
 # arg 1:  the new package version
 # arg 2:  the old package version
 pre_upgrade() {
+    msg_client.py --clear
     msg_client.py --kill
     sv stop msg_daemon
 }
-- 
cgit v0.12

