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 2007-02-06 17:24:33.000000000 -0500 |
3 |
+++ mezzanine_patched_smeserver-postgresql-0.0.1/root/etc/e-smith/templates/etc/e-smith/pgsql/init/00_restore_backup 2007-02-06 17:24:10.000000000 -0500 |
4 |
@@ -6,8 +6,8 @@ |
5 |
delete $ENV\{BASH_ENV\}; |
6 |
|
7 |
if (-e "/home/e-smith/db/pgsql/pgsql.dump") |
8 |
-{ |
9 |
+\{ |
10 |
open(STDIN, "/home/e-smith/db/pgsql/pgsql.dump"); |
11 |
exec(qw(chpst -u postgres psql -q -f - template1)); |
12 |
-} |
13 |
+\} |
14 |
exit 0; |