~ubuntu-branches/ubuntu/hardy/bugzilla/hardy-security

« back to all changes in this revision

Viewing changes to syncshadowdb

  • Committer: Bazaar Package Importer
  • Author(s): Rémi Perrot
  • Date: 2004-04-02 01:13:32 UTC
  • Revision ID: james.westby@ubuntu.com-20040402011332-pbwk96wk60u5hbil
Tags: 2.16.5-2
Duplicate table creation is now also fixed in bugzilla.postinst
(closes: #224288)

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
use diagnostics;
25
25
use strict;
26
26
 
 
27
use lib '/usr/share/bugzilla/lib';
 
28
 
27
29
require "globals.pl";
28
30
require "defparams.pl";
29
31
 
 
32
my $var_lib="/var/lib/bugzilla";
 
33
 
30
34
# Shut up misguided -w warnings about "used only once".  "use vars" just
31
35
# doesn't work for me.
32
36
 
40
44
my $verbose = 0;
41
45
my $syncall = 0;
42
46
my $shutdown = 0;
43
 
my $tempdir = "data";
 
47
my $tempdir = "$var_lib/data/";
44
48
my $force = 0;
45
49
 
46
50
my $shutdown_msg = "Bugzilla is temporarily disabled while the database is backed up. Try again in a few minutes.";