~ubuntu-branches/ubuntu/maverick/slony1/maverick

« back to all changes in this revision

Viewing changes to debian/patches/hardcoded-paths.patch

  • Committer: Bazaar Package Importer
  • Author(s): Peter Eisentraut
  • Date: 2006-11-17 17:19:48 UTC
  • mfrom: (1.1.2 upstream) (2.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20061117171948-jd89seng1dcff6rc
Tags: 1.2.1-1
* New upstream release
  - Updated no-client-log.patch
  - Obsoleted patches: hardcoded-paths.patch
* Updated watch file
* Reenabled Perl tools
* Added missing final newline to slon.conf-sample
* Updated test script

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: slony1-1.2.0/tools/altperl/slonik_drop_table.pl
2
 
===================================================================
3
 
--- slony1-1.2.0.orig/tools/altperl/slonik_drop_table.pl        2006-10-19 16:56:28.000000000 +0200
4
 
+++ slony1-1.2.0/tools/altperl/slonik_drop_table.pl     2006-10-19 16:57:07.000000000 +0200
5
 
@@ -7,7 +7,7 @@
6
 
 
7
 
 use Getopt::Long;
8
 
 
9
 
-$CONFIG_FILE = '/usr/local/etc/slon_tools.conf';
10
 
+$CONFIG_FILE = '@@SYSCONFDIR@@/slon_tools.conf';
11
 
 $SHOW_USAGE  = 0;
12
 
 
13
 
 # Read command-line options
14
 
@@ -31,7 +31,7 @@
15
 
     exit 0;
16
 
 }
17
 
 
18
 
-require '/usr/local/pgsql/lib//slon-tools.pm';
19
 
+require '@@PGLIBDIR@@/slon-tools.pm';
20
 
 require $CONFIG_FILE;
21
 
 
22
 
 my ($TABLE_ID,$set) = @ARGV;
23
 
Index: slony1-1.2.0/tools/altperl/slonik_print_preamble.pl
24
 
===================================================================
25
 
--- slony1-1.2.0.orig/tools/altperl/slonik_print_preamble.pl    2006-10-19 16:57:12.000000000 +0200
26
 
+++ slony1-1.2.0/tools/altperl/slonik_print_preamble.pl 2006-10-19 16:57:37.000000000 +0200
27
 
@@ -7,7 +7,7 @@
28
 
 
29
 
 use Getopt::Long;
30
 
 
31
 
-$CONFIG_FILE = '/usr/local/etc/slon_tools.conf';
32
 
+$CONFIG_FILE = '@@SYSCONFDIR@@/slon_tools.conf';
33
 
 $SHOW_USAGE  = 0;
34
 
 
35
 
 # Read command-line options
36
 
@@ -29,7 +29,7 @@
37
 
     exit 0;
38
 
 }
39
 
 
40
 
-require '/usr/local/pgsql/lib//slon-tools.pm';
41
 
+require '@@PGLIBDIR@@/slon-tools.pm';
42
 
 require $CONFIG_FILE;
43
 
 
44
 
 $FILE="/tmp/print_preamble.$$";