~ubuntu-branches/ubuntu/maverick/sysstat/maverick

« back to all changes in this revision

Viewing changes to debian/sysstat.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Robert Luberda
  • Date: 2010-01-03 15:00:37 UTC
  • mfrom: (2.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100103150037-tux1dd2vvr6u5c9q
Tags: 9.0.6-2
* Remove both stop link from rc1.d, and the lintian override 
  (closes: #562660).
* Fix spelling typo in isag(1).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# vim:ts=4:et
3
 
# $Id: sysstat.postinst 1416 2009-01-15 23:07:50Z robert $
 
3
# $Id: sysstat.postinst 1478 2010-01-03 14:01:06Z robert $
4
4
 
5
5
set -e
6
6
 
69
69
. /usr/share/debconf/confmodule
70
70
 
71
71
if [ "$1" = "configure" ] ; then
72
 
    if dpkg --compare-versions "$2" lt-nl "8.1.8"; then
 
72
    if dpkg --compare-versions "$2" lt-nl "9.0.6-2~"; then
73
73
        # removing old stop links
74
 
        rm -f /etc/rc0.d/K20sysstat  /etc/rc6.d/K20sysstat
 
74
        rm -f /etc/rc0.d/K20sysstat /etc/rc6.d/K20sysstat  /etc/rc1.d/K01sysstat
75
75
    fi
76
76
 
77
77