diff options
author | Jennifer Leech <jenn@lindenlab.com> | 2008-08-19 23:21:06 +0000 |
---|---|---|
committer | Jennifer Leech <jenn@lindenlab.com> | 2008-08-19 23:21:06 +0000 |
commit | b59caea98038636b8a3154b33486a18349bed482 (patch) | |
tree | ff3b2961bf3e28505bad330764f6a13c90589bcb /scripts/install.py | |
parent | 728e2c6e70c7eddb0003d75ee81103aa6c540a8a (diff) |
- install.xml updated with versions of tarfiles which no longer contain debug lib files on linux and darwin. Files mistakenly added previously from automatically generated linux build dir (viewer-linux-i686) removed. Also some dll's mistakenly added to linux lib tarfiles removed.
- file lists in assemblies/3rd_party_libs (used for updating lib tarfiles) updated as per above
- new config files created for 'glib' library; glib files removed from gtk-atk-pango-glib filelist. glib can be decoupled from mono, when appropriate.
- package.py help dialogue and error reporting updated for clarity.
- install.py will now output list of files installed for a package with command-line option
Diffstat (limited to 'scripts/install.py')
-rwxr-xr-x | scripts/install.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/scripts/install.py b/scripts/install.py index dd8ffa8401..522fa6e9d9 100755 --- a/scripts/install.py +++ b/scripts/install.py @@ -308,6 +308,13 @@ class Installer(object): "Return a list of installed packages." return self._installed.keys() + def detail_installed(self, name): + "Return file list for specific installed package." + filelist = [] + for url in self._installed[name]._installed.keys(): + filelist.extend(self._installed[name].files_in(url)) + return filelist + def _update_field(self, description, field, value, multiline=False): """Given a block and a field name, add or update it. @param description a dict containing all the details of a description. @@ -971,6 +978,12 @@ Ignored if --add-installable or --add-installable-package is not specified.""") dest='detail_installable', help="Get detailed information on specified installable and exit.") parser.add_option( + '--detail-installed', + type='string', + default=None, + dest='detail_installed', + help="Get list of files for specified installed installable and exit.") + parser.add_option( '--uninstall', action='store_true', default=False, @@ -1012,6 +1025,17 @@ def main(): print "Installable '"+options.detail_installable+"' not found in", print "install file." return 0 + if options.detail_installed: + try: + detail = installer.detail_installed(options.detail_installed) + #print "Detail on installed",options.detail_installed+":" + for line in detail: + print line + except: + raise + print "Installable '"+options.detail_installed+"' not found in ", + print "install file." + return 0 if options.list_licenses: print "license list:", installer.list_licenses() return 0 |