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

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

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


Revision 1.3 - (hide annotations) (download)
Tue Nov 25 16:20:28 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
Restore

1 slords 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