1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-postgresql-0.0.1/root/etc/rc.d/init.d/pgsql.init mezzanine_patched_smeserver-postgresql-0.0.1/root/etc/rc.d/init.d/pgsql.init |
2 |
|
|
--- smeserver-postgresql-0.0.1/root/etc/rc.d/init.d/pgsql.init 2006-05-24 15:21:57.000000000 -0400 |
3 |
|
|
+++ mezzanine_patched_smeserver-postgresql-0.0.1/root/etc/rc.d/init.d/pgsql.init 2006-06-28 14:25:08.000000000 -0400 |
4 |
|
|
@@ -46,7 +46,7 @@ |
5 |
|
|
*.sql) |
6 |
|
|
D=$(echo $F | sed 's/\.sql$//') |
7 |
|
|
action "Creating database $D in postgresql" chpst -u postgres createdb -T template0 $D |
8 |
|
|
- action "Loading $F into postgresql" chpst -u /usr/bin/psql $D < $link && /bin/rm $link |
9 |
|
|
+ action "Loading $F into postgresql" chpst -u postgres /usr/bin/psql $D < $link && /bin/rm $link |
10 |
|
|
;; |
11 |
|
|
*) |
12 |
|
|
action "Loading $F into postgresql" $link && /bin/rm $link |