Ver Fonte

fix(build): fixed ldap config file sample issue and build script

Torkel Ödegaard há 10 anos atrás
pai
commit
d63a77d8b1
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      build.go

+ 1 - 1
build.go

@@ -210,7 +210,7 @@ func createPackage(options linuxPackageOptions) {
 	// copy sample ini file to /etc/grafana
 	runPrint("cp", "conf/sample.ini", filepath.Join(packageRoot, options.configFilePath))
 	// copy sample ldap toml config file to /etc/grafana/ldap.toml
-	runPrint("cp", "conf/sample.ini", filepath.Join(packageRoot, options.ldapFilePath))
+	runPrint("cp", "conf/ldap.toml", filepath.Join(packageRoot, options.ldapFilePath))
 
 	args := []string{
 		"-s", "dir",