clean up postgresql
clean up postgresql

git-svn-id: svn://svn.openwrt.org/openwrt/packages@6928 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- a/libs/postgresql/Makefile
+++ b/libs/postgresql/Makefile
@@ -195,7 +195,7 @@
 		$(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 \

--- a/libs/postgresql/files/postgresql.conf
+++ /dev/null
@@ -1,6 +1,1 @@
-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
 

--- /dev/null
+++ b/libs/postgresql/files/postgresql.config
@@ -1,1 +1,6 @@
+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
 

comments