python-oq requires a debian/postrm script

Bug #906613 reported by Muharem Hrnjadovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Fix Released
Medium
Muharem Hrnjadovic
Changed in openquake:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Muharem Hrnjadovic (al-maisan)
milestone: none → 0.5.0
tags: added: packaging
Revision history for this message
Muharem Hrnjadovic (al-maisan) wrote : Re: [Bug 906613] [NEW] python-oq requires a debian/postrm script

Please see also:
    http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html

I think the best way forward is to add a debian/preinst script that
makes sure the following directories do *not* exist:
    /usr/share/pyshared/openquake
    /usr/share/doc/python-oq
    /usr/share/pyshared/openquake-0.4.6.egg-info

Nevertheless, we should also add a debian/postrm script that handles the
remove and purge situations.

When called with "remove" it should do the same as the debian/preinst
script.

When called with "purge" it should make sure the following do *not*
exist:
    /etc/openquake
    /usr/openquake

On 12/19/2011 11:39 PM, Muharem Hrnjadovic wrote:
> Public bug reported:
>
> See https://bugs.launchpad.net/openquake/+bug/906311 and
> http://wiki.debian.org/MaintainerScripts
>
> ** Affects: openquake
> Importance: High
> Assignee: Muharem Hrnjadovic (al-maisan)
> Status: Confirmed
>
>
> ** Tags: packaging
>
> ** Changed in: openquake
> Status: New => Confirmed
>
> ** Changed in: openquake
> Importance: Undecided => High
>
> ** Changed in: openquake
> Assignee: (unassigned) => Muharem Hrnjadovic (al-maisan)
>
> ** Changed in: openquake
> Milestone: None => 0.5.0
>
> ** Tags added: packaging
>

Best regards/Mit freundlichen Grüßen

--
Muharem Hrnjadovic <email address hidden>
Public key id : B2BBFCFC
Key fingerprint : A5A3 CC67 2B87 D641 103F 5602 219F 6B60 B2BB FCFC

Changed in openquake:
importance: High → Medium
milestone: 0.5.0 → 0.5.1
Changed in openquake:
milestone: 0.5.1 → 0.6.0
tags: added: techdebt
tags: added: sys-quality
removed: techdebt
tags: added: techdebt
removed: sys-quality
Changed in openquake:
status: Confirmed → In Progress
Changed in openquake:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.