7187126 Creating AI service from pkg(5) results in traceback
authorSusan Sohn <susan.sohn@oracle.com>
Wed, 01 Aug 2012 13:34:01 -0700
changeset 1760 820b90ac476b
parent 1759 5aaebb87ff6f
child 1761 c4dbae7a9d80
7187126 Creating AI service from pkg(5) results in traceback
usr/src/cmd/installadm/installadm.py
--- a/usr/src/cmd/installadm/installadm.py	Mon Jul 30 13:06:36 2012 -0700
+++ b/usr/src/cmd/installadm/installadm.py	Wed Aug 01 13:34:01 2012 -0700
@@ -24,6 +24,7 @@
 '''
 installadm - administration of AI services, manifests, and clients
 '''
+import gettext
 import logging
 import sys
 import traceback
@@ -214,9 +215,11 @@
 
     Returns:
         The return from the invoked sub-command.
-        4 if VersionError encountered
+        3 if VersionError encountered
 
     '''
+    gettext.install('solaris_install_installadm', '/usr/share/locale')
+
     # sub_cmds is a dictionary. The value for each subcommand key
     # is a tuple consisting of the method to call to invoke the
     # subcommand and the method to call to get usage for the subcommand.