瀏覽代碼

Update install-postgresql.ps1 (#151)

Len 7 年之前
父節點
當前提交
68162fb1a2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      windows/resources/install-postgresql.ps1

+ 1 - 1
windows/resources/install-postgresql.ps1

@@ -34,7 +34,7 @@ Function Install-PostgreSQL() {
 	
 	#move pg_hba.conf
     	Move-Item "C:\Program Files\PostgreSQL\10\data\pg_hba.conf" "C:\Program Files\PostgreSQL\10\data\BAK_pg_hba.conf"
-    	Copy-Item ".\postgresql\pg_hba.conf" "C:\Program Files\PostgreSQL\10\data\" -recurse
+    	Copy-Item ".\resources\postgresql\pg_hba.conf" "C:\Program Files\PostgreSQL\10\data\" -recurse
 
     	#reload 
     	C:\Windows\system32\cscript.exe //NoLogo "C:\Program Files\PostgreSQL\10\scripts\serverctl.vbs" reload