/[smecontribs]/rpms/smeserver-postgresql/contribs8/smeserver-postgresql-0.0.1.disabled_pre_backup.patch
ViewVC logotype

Annotation of /rpms/smeserver-postgresql/contribs8/smeserver-postgresql-0.0.1.disabled_pre_backup.patch

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


Revision 1.1 - (hide annotations) (download)
Sun Mar 3 21:52:45 2013 UTC (11 years, 9 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-postgresql-0_0_1-24_el5_sme, HEAD
Initial import

1 unnilennium 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-postgresql-0.0.1/root/etc/e-smith/events/actions/pgsql-dump-tables mezzanine_patched_smeserver-postgresql-0.0.1/root/etc/e-smith/events/actions/pgsql-dump-tables
2     --- smeserver-postgresql-0.0.1/root/etc/e-smith/events/actions/pgsql-dump-tables 2006-05-24 15:16:23.000000000 -0400
3     +++ mezzanine_patched_smeserver-postgresql-0.0.1/root/etc/e-smith/events/actions/pgsql-dump-tables 2006-09-25 10:29:05.000000000 -0400
4     @@ -1,4 +1,10 @@
5     #!/bin/sh
6    
7     +status=$(/sbin/e-smith/config getprop postgresql status)
8     +if [ "$status" = "disabled" ]
9     +then
10     + echo "postgresql is disabled - no tables dumped" >&2
11     + exit 0
12     +fi
13     exec >/home/e-smith/db/pgsql/pgsql.dump
14     exec chpst -u postgres pg_dumpall

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