/[smecontribs]/rpms/smeserver-postgresql/contribs7/smeserver-postgresql-0.0.1.restore.patch3
ViewVC logotype

Contents of /rpms/smeserver-postgresql/contribs7/smeserver-postgresql-0.0.1.restore.patch3

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Dec 28 02:32:06 2007 UTC (16 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-postgresql-0_0_1-24_el4_sme
Import on branch contribs7 of package smeserver-postgresql-0.0.1-24.el4.sme.src.rpm

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-postgresql-0.0.1/root/etc/e-smith/templates/etc/e-smith/pgsql/init/00_restore_backup mezzanine_patched_smeserver-postgresql-0.0.1/root/etc/e-smith/templates/etc/e-smith/pgsql/init/00_restore_backup
2 --- smeserver-postgresql-0.0.1/root/etc/e-smith/templates/etc/e-smith/pgsql/init/00_restore_backup 2006-10-17 19:13:09.000000000 -0400
3 +++ mezzanine_patched_smeserver-postgresql-0.0.1/root/etc/e-smith/templates/etc/e-smith/pgsql/init/00_restore_backup 2006-10-17 19:12:33.000000000 -0400
4 @@ -1,4 +1,7 @@
5 -#! /bin/sh
6 +#! /usr/bin/perl -T
7 +use warnings;
8 +use strict;
9
10 -exec < /home/e-smith/db/pgsql/pgsql.dump
11 -exec chpst -u postgres psql -f - template1
12 +$ENV\{PATH\} = "/usr/bin";
13 +open(STDIN, "/home/e-smith/db/pgsql/pgsql.dump");
14 +exec(qw(chpst -u postgres psql -q -f - template1));
15 diff -Nur -x '*.orig' -x '*.rej' smeserver-postgresql-0.0.1/root/etc/e-smith/templates.metadata/etc/e-smith/pgsql/init/00_restore_backup mezzanine_patched_smeserver-postgresql-0.0.1/root/etc/e-smith/templates.metadata/etc/e-smith/pgsql/init/00_restore_backup
16 --- smeserver-postgresql-0.0.1/root/etc/e-smith/templates.metadata/etc/e-smith/pgsql/init/00_restore_backup 2006-10-17 19:13:09.000000000 -0400
17 +++ mezzanine_patched_smeserver-postgresql-0.0.1/root/etc/e-smith/templates.metadata/etc/e-smith/pgsql/init/00_restore_backup 2006-10-17 19:12:58.000000000 -0400
18 @@ -1 +1,3 @@
19 -PERMS=0500
20 +UID="root"
21 +GID="postgres"
22 +PERMS=04550

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed