Title: [opsview] [13158] Remove debugging, silence grep.
Revision
13158
Author
pknight
Date
2013-08-06 17:15:55 +0100 (Tue, 06 Aug 2013)

Log Message

Remove debugging, silence grep.

Modified Paths


Modified: trunk/opsview-core/debian/postinst
===================================================================
--- trunk/opsview-core/debian/postinst	2013-08-06 14:07:23 UTC (rev 13157)
+++ trunk/opsview-core/debian/postinst	2013-08-06 16:15:55 UTC (rev 13158)
@@ -146,19 +146,15 @@
 
 case "$1" in
     install)
-        echo -n "Installing on "
-        lsb_release -i
         # Use Ubuntu's Upstart.
-        if lsb_release -i | grep Ubuntu; then
+        if lsb_release -i | grep -q Ubuntu; then
             upstart
         fi
     ;;
 
     upgrade)
-        echo -n "Upgrading on "
-        lsb_release -i
         # Change from System V to Ubuntu's Upstart.
-        if lsb_release -i | grep Ubuntu; then
+        if lsb_release -i | grep -q Ubuntu; then
             upstart
         fi
     ;;

_______________________________________________
Opsview-checkins mailing list
Opsview-checkins@lists.opsview.org
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to