~free.ekanayaka/landscape-client/lucid-1.5.0-0ubuntu0.10.04.0

« back to all changes in this revision

Viewing changes to debian/landscape-client.postrm

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug, Mathias Gug, Christopher Armstrong
  • Date: 2008-09-15 17:21:53 UTC
  • Revision ID: james.westby@ubuntu.com-20080915172153-nup9oqce6gv3pv8h
Tags: 1.0.18-0ubuntu2
[ Mathias Gug ]
* Split the package into two packages:
  - landscape-common: has the python libraries and the landscape-sysinfo
    command. A landscape account is not required to use this package.
  - landscape-client: has all the binaries required to run the
    landscape-client. Requires a landscape account.
  - debian/control: 
    + move some dependencies to landscape-client so that
      landscape-common doesn't install unecessary packages in the 
      default -server install.
    + move python-gobject to a Pre-Depends so that landscape-config can
      register the system during the postinst (LP: #268838).
* debian/control:
  - depend on python-smartpm instead of smartpm-core.
* debian/landscape-client.postrm: delete /etc/landscape/client.conf when 
  the package is purged.
* debian/landscape-client.postinst: remove sysinfo_in_motd debconf question
  as it wasn't used.

[ Christopher Armstrong ]
* Fixes for (LP: #268352).
  - scripts/landscape-sysinfo.wrapper: New script to run landscape-sysinfo
    with leading whitespace.
  - debian/rules: Install wrapper into /usr/share/landscape.
  - debian/landscape-client.postinst: Link wrapper into place.

Show diffs side-by-side

added added

removed removed

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