~ubuntu-branches/ubuntu/trusty/pgpool2/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Christoph Berg
  • Date: 2012-05-22 14:40:44 UTC
  • Revision ID: package-import@ubuntu.com-20120522144044-vmfyfep7w34qdg93
Tags: 3.1.3-2
Use ucf to handle /etc/pgpool2/pgpool.conf.  Closes: #671359.
Also, try to keep the port number used instead of calling next_free_port
on every upgrade.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
        done
39
39
 
40
40
override_dh_install:
41
 
        set -e ; for f in pgpool.conf pcp.conf pool_hba.conf ; do mv debian/tmp/etc/pgpool2/$$f.sample debian/tmp/etc/pgpool2/$$f ; done
 
41
        # pgpool.conf is handled by ucf
 
42
        mkdir -p debian/tmp/usr/share/pgpool2
 
43
        mv debian/tmp/etc/pgpool2/pgpool.conf.sample debian/tmp/usr/share/pgpool2/pgpool.conf
 
44
        set -e ; for f in pcp.conf pool_hba.conf ; do mv debian/tmp/etc/pgpool2/$$f.sample debian/tmp/etc/pgpool2/$$f ; done
42
45
        dh_install --list-missing
43
46
 
44
47
%: