tags 656090 + pending
thanks

Dear maintainer,

Stuart Prescott has prepared an NMU for ocsinventory-server
(versioned as 2.0.5-1.1) and I've uploaded it to DELAYED/2. Please
feel free to tell me if I should delay it longer.

Regards.

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Compay Segundo: Orgullecida
diff -u ocsinventory-server-2.0.5/debian/ocsinventory-server.install ocsinventory-server-2.0.5/debian/ocsinventory-server.install
--- ocsinventory-server-2.0.5/debian/ocsinventory-server.install
+++ ocsinventory-server-2.0.5/debian/ocsinventory-server.install
@@ -1 +1 @@
-debian/conf/ocsinventory.conf             etc/ocsinventory/
+debian/conf/ocsinventory.conf             usr/share/ocsinventory-server/files/
diff -u ocsinventory-server-2.0.5/debian/changelog ocsinventory-server-2.0.5/debian/changelog
--- ocsinventory-server-2.0.5/debian/changelog
+++ ocsinventory-server-2.0.5/debian/changelog
@@ -1,3 +1,13 @@
+ocsinventory-server (2.0.5-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+
+  [ Stuart Prescott ]
+  * Revert change of ocsinventory-server.conf to a conffile and only install
+    if on new installs (Closes: #656090).
+
+ -- gregor herrmann <gre...@debian.org>  Wed, 13 Mar 2013 18:48:22 +0100
+
 ocsinventory-server (2.0.5-1) unstable; urgency=low
 
   * Imported Upstream version 2.0.5
diff -u ocsinventory-server-2.0.5/debian/ocsinventory-server.postinst ocsinventory-server-2.0.5/debian/ocsinventory-server.postinst
--- ocsinventory-server-2.0.5/debian/ocsinventory-server.postinst
+++ ocsinventory-server-2.0.5/debian/ocsinventory-server.postinst
@@ -12,6 +12,12 @@
 chmod -R g+w $log
 
 
+if [ "$1" = "configure" -a "$#" -eq 2 ]; then
+  if [ ! -f $confpath/$conffile ]; then
+    cp /usr/share/ocsinventory-server/files/$conffile $confpath/$conffile
+  fi
+fi
+
 if [ "$1" = "configure" ]; then
 
   # enable required apache modules

Attachment: signature.asc
Description: Digital signature

Reply via email to