~ubuntu-branches/ubuntu/gutsy/nut/gutsy

« back to all changes in this revision

Viewing changes to packaging/debian/nut-cgi.config

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Quette
  • Date: 2007-01-16 10:42:36 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20070116104236-il549l8x1wmogl3b
Tags: 2.0.5-1
* New upstream release (Closes: #406045, #380304, #399741)
* debian/rules:
  - replaces CHANGES by ChangeLog
  - replace the dummycons installation by dummy-ups
  - integrate the --with-htmlpath option
* debian/nut-cgi.docs: created to install data/html/README
* debian/nut.init: LSB compliance update
* debian/control: add lsb-base (>= 3.0-6) to Depends for LSB compliance

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
 
 
3
# source the debconf library
 
4
. /usr/share/debconf/confmodule
 
5
 
 
6
case "$1" in
 
7
 
 
8
  configure)
 
9
    # ask this if upgrading to 2.0.0 or later
 
10
    if dpkg --compare-versions "$2" lt-nl "2.0.1" ; then
 
11
      db_input critical nut-cgi/major_template_changes || true
 
12
      db_go || true
 
13
      db_get nut-cgi/major_template_changes
 
14
      if [ "$RET" = "false" ] ; then
 
15
        db_fset nut-cgi/major_template_changes seen false
 
16
        exit 1
 
17
      fi
 
18
    fi
 
19
    ;;
 
20
 
 
21
  *)
 
22
    ;;
 
23
 
 
24
esac
 
25