~ubuntu-branches/ubuntu/edgy/torrentflux/edgy-security

« back to all changes in this revision

Viewing changes to debian/torrentflux.config

  • Committer: Bazaar Package Importer
  • Author(s): Cameron Dale
  • Date: 2006-04-14 15:13:06 UTC
  • Revision ID: james.westby@ubuntu.com-20060414151306-o21qt55qn99xz55j
Tags: 2.1-1
* New upstream release
* Updated dbconfig-common patch for new config file
* Remove config.php from etc as it is no longer a config file
* Add debconf note about updated config location
* Switch to docbook for man pages
* Add manpages for 2 new programs
* Update control for new release features
* Add dependency on mysql-client (temporarily avoids #353617)
* Use variable substitution in debconf templates (Closes: #360694)
* Add lintian override for postinst-uses-db-input
* Upgrade debhelper compatibility to v5
* Add comments to debhelper files
* Fix watch file to work properly
* Change installed docs
* New patch 03_remove_initial_db_insert
* New patch 04_fix_python_filename_dependence
* Add documentation of the database install

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
#set -x
 
5
 
 
6
. /usr/share/debconf/confmodule
 
7
. /usr/share/dbconfig-common/dpkg/config.mysql 
 
8
dbc_go torrentflux $@
 
9
 
 
10
if [ "$1" = "configure" ]
 
11
then 
 
12
 
 
13
        # if we are upgrading from version < 2.1 warns the user
 
14
        if [ "$2" ] && dpkg --compare-versions "$2" lt "2.1"
 
15
        then
 
16
                db_input high torrentflux/upgrade_to_21 || true
 
17
                db_go
 
18
        fi
 
19
fi