Control: reopen -1

On Wed, 2012-11-07 at 12:17 +0000, Gonéri Le Bouder wrote:
> Source: fusioninventory-agent
> Source-Version: 2.2.3-4
> 
> We believe that the bug you reported is fixed in the latest version of
> fusioninventory-agent, which is due to be installed in the Debian FTP archive.
[...]
>    * fix the postrm script, thanks Adam D. Barratt,
>      (closes: #679299)

Unfortunately the maintainer scripts are still broken.

postrm:

+    for ext in '~' '%' .bak .ucf-new .ucf-old .ucf-dist;  do
+       rm -f /etc/fusioninventory/agent.conf$ext
+    done
+
+    # remove the configuration file itself
+    rm -f /etc/fusioninventory/agent.conf
[...]
+    # and finally clear it out from the ucf database
+    if which ucf >/dev/null; then
+        ucf --purge /etc/fusioninventory/agent.conf
+    fi
+    if which ucfr >/dev/null; then
+        ucfr --purge fusioninventory-agent /etc/fusioninventory/agent.conf

The file shipped in the package appears to be agent.cfg.

postinst:

+    ucf /usr/share/doc/fusioninventory-agent/agent.cfg 
/etc/fusioninventory/agent.cfg

That's a policy violation; specifically section 12.3.

+    ucfr fusioninventory-agent /etc/fusioninventory/agent.

There appears to be a "cfg" missing from the end of that line.

The package also appears to be still shipping the file directly
in /etc/, which seems wrong.

Regards,

Adam


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to