clean up postgresql
authorTim Yardley <lst@openwrt.org>
Tue, 10 Apr 2007 22:34:14 +0000 (22:34 +0000)
committerTim Yardley <lst@openwrt.org>
Tue, 10 Apr 2007 22:34:14 +0000 (22:34 +0000)
SVN-Revision: 6928

libs/postgresql/Makefile
libs/postgresql/files/postgresql.conf [deleted file]
libs/postgresql/files/postgresql.config [new file with mode: 0644]

index 17ee3e6e994f0c4904d43bf6c2e5c05f1de9bb2f..30103610eea444af8df71fab522fadb05fed707a 100644 (file)
@@ -195,7 +195,7 @@ define Package/pgsql-server/install
                $(PKG_INSTALL_DIR)/usr/share/postgresql/system_views.sql \
                $(1)/usr/share/postgresql
 
-               $(INSTALL_DATA) ./files/postgresql.config $(1)/etc/config/postgres
+               $(INSTALL_DATA) ./files/postgresql.config $(1)/etc/config/postgresql
 
                $(CP) -r \
                        $(PKG_INSTALL_DIR)/usr/share/postgresql/timezone \
diff --git a/libs/postgresql/files/postgresql.conf b/libs/postgresql/files/postgresql.conf
deleted file mode 100644 (file)
index df17c12..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-config postgresql config
-       option PGUSER   postgres
-       option PGDATA   /var/postgresql/data
-       option PGLOG    /var/postgresql/data/postgresql.log
-       option PG_CTL   /usr/bin/pg_ctl
diff --git a/libs/postgresql/files/postgresql.config b/libs/postgresql/files/postgresql.config
new file mode 100644 (file)
index 0000000..df17c12
--- /dev/null
@@ -0,0 +1,5 @@
+config postgresql config
+       option PGUSER   postgres
+       option PGDATA   /var/postgresql/data
+       option PGLOG    /var/postgresql/data/postgresql.log
+       option PG_CTL   /usr/bin/pg_ctl