From ae5dd4eea2a546a85db2f4c440c05c165ca10524 Mon Sep 17 00:00:00 2001
From: Violette Roche-Montane <violette.roche-montane@forgerock.com>
Date: Thu, 30 May 2013 13:49:50 +0000
Subject: [PATCH] Minor fix on deb packages. - added message when buildinfo is not found. - excluded .app / bat files.

---
 opends/resource/debian/control/postinst |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/opends/resource/debian/control/postinst b/opends/resource/debian/control/postinst
index fd3e6a8..9477b50 100644
--- a/opends/resource/debian/control/postinst
+++ b/opends/resource/debian/control/postinst
@@ -37,7 +37,8 @@
     fi
   else 
 # Invalid installation, could not find the buildinfo file.
-    exit 0  
+    echo "Invalid installation, could not find the build info file."
+    exit -1  
   fi
 fi
 # End post install script

--
Gitblit v1.10.0