issue #20254: fixed install script bug