~ubuntu-branches/ubuntu/quantal/bugzilla/quantal

« back to all changes in this revision

Viewing changes to debian/pre-checksetup.d/03shutdownhtmlset

  • Committer: Bazaar Package Importer
  • Author(s): Raphael Bossek
  • Date: 2010-08-08 15:38:06 UTC
  • mfrom: (9.1.16 sid)
  • Revision ID: james.westby@ubuntu.com-20100808153806-criz2s0h42s44ard
Tags: 3.6.2.0-1
* New upstream release. Closes: #592212
* Increased Standards-Version to 3.9.1; no changes.
* Due to tons of bug reports with missconfigured database server environment
  I've disabled the DB check at installation time ($db_check=0) and added
  more code to handle database connect errors at installation/configuration
  time.
  LP: #584827, #546954, #584819
* Bugzilla will be disabled if configuration/installation failes.
  Closes: #557357
* [Debconf translation updates]
  - Czech (Slavko). Closes: #591943
  - Swedish (Martin Bagge). Closes: #592036
  - Portuguese. Closes: #592160

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# Set the shutdownhtml message.
 
3
set -e
 
4
umask 0027
 
5
 
 
6
paramsf="$BUGZILLA_ETCDIR/params"
 
7
shutdownhtml_set=`$BUGZILLA_CONTRIBDIR/bugzparam shutdownhtml`
 
8
if [ -z "$shutdownhtml_set" -a -s "$BUGZILLA_DATADIR/shutdownhtml" ]; then
 
9
        # Change value of shutdownhtml parameter.
 
10
        su www-data -c "$BUGZILLA_CONTRIBDIR/bugzparam --infile shutdownhtml $BUGZILLA_DATADIR/shutdownhtml"
 
11
fi