~ahasenack/landscape-client/landscape-client-1.5.5.1-0ubuntu0.9.04.0

« back to all changes in this revision

Viewing changes to debian/landscape-common.postrm

  • Committer: Bazaar Package Importer
  • Author(s): Christopher Armstrong
  • Date: 2008-10-09 11:40:51 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20081009114051-jku4tay2vm4envzf
Tags: 1.0.23-0ubuntu0.8.10
* New upstream release. (LP: #277658):
  Changes since 1.0.21.1:
  - Don't print duplicate warnings when / is nearing capacity in sysinfo
    (LP: #260230).
  - Slight change to link text in landscape-sysinfo.
  - Don't crash badly when programs are run as the incorrect user
    (LP: #268879).
* debian/changelog: New debian-version scheme including Ubuntu version. The
  same upstream version is available for all supported releases.
  (LP: #277682).
* debian/landscape-client.postrm: Delete log and data files upon purge
  (LP: #121182).
* debian/landscape-common.postrm: Delete the sysinfo logs upon purge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
case "$1" in
18
18
    purge)
 
19
        LOG_DIR=/var/log/landscape
19
20
        deluser --quiet --system landscape >/dev/null || true
 
21
        rm -f "${LOG_DIR}/sysinfo.log"*
20
22
    ;;
21
23
 
22
24
    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)