Title: [opsview] [12354] Revert change to postinst from 12321
Revision
12354
Author
hstevenson
Date
2013-05-24 17:57:31 +0100 (Fri, 24 May 2013)

Log Message

Revert change to postinst from 12321

Modified Paths


Modified: trunk/opsview-core/debian/postinst
===================================================================
--- trunk/opsview-core/debian/postinst	2013-05-24 16:41:03 UTC (rev 12353)
+++ trunk/opsview-core/debian/postinst	2013-05-24 16:57:31 UTC (rev 12354)
@@ -106,8 +106,8 @@
   db_unregister opsview-core/db_rootpass
 
   if [ $opsview_upgrade -eq 1 ]; then
+    su - nagios -c '/usr/local/nagios/bin/install_all_opspacks --dir /usr/local/nagios/import/opspacks'
     su - nagios -c '/usr/local/nagios/bin/populate_db.pl'
-    su - nagios -c '/usr/local/nagios/bin/install_all_opspacks --dir /usr/local/nagios/import/opspacks'
   fi
 
   # NOSTART so Debian will startup daemon itself

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

Reply via email to