浏览代码

Resolves: bug 424381
Description: migrate-ds-admin.pl script - not working
Fix Description: Broken while fixing bug 400421 - Need to use $mig->{inf} instead of $inf

Rich Megginson 18 年之前
父节点
当前提交
23ff22b1cd
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ldap/admin/src/scripts/DSMigration.pm.in

+ 2 - 2
ldap/admin/src/scripts/DSMigration.pm.in

@@ -899,9 +899,9 @@ sub migrateDS {
     # servers - this assumes they are all in the same place
     # servers - this assumes they are all in the same place
     if (!$mig->{ServerRoot}) {
     if (!$mig->{ServerRoot}) {
         if ("@with_fhs_opt@") {
         if ("@with_fhs_opt@") {
-            $mig->{ServerRoot} = "$inf->{General}->{prefix}/opt/@PACKAGE_NAME@";
+            $mig->{ServerRoot} = "$mig->{inf}->{General}->{prefix}/opt/@PACKAGE_NAME@";
         } else {
         } else {
-            $mig->{ServerRoot} = "$inf->{General}->{prefix}@serverdir@";
+            $mig->{ServerRoot} = "$mig->{inf}->{General}->{prefix}@serverdir@";
         }
         }
     }
     }