apm_get_repository_channel (public)

 apm_get_repository_channel

Defined in packages/acs-tcl/tcl/apm-install-procs.tcl

Returns the channel to use when installing software from the repository. Based on the version of the acs-kernel package, e.g. if acs-kernel is version 5.0.1, then this will return 5-0.

Partial Call Graph (max 5 caller/called nodes):
%3 packages/acs-admin/www/install/install.tcl packages/acs-admin/ www/install/install.tcl apm_get_repository_channel apm_get_repository_channel packages/acs-admin/www/install/install.tcl->apm_get_repository_channel ad_acs_version ad_acs_version (public) apm_get_repository_channel->ad_acs_version

Testcases:
No testcase defined.
Source code:
    set kernel_versionv [split [ad_acs_version] .]
    return [join [lrange $kernel_versionv 0 1] "-"]
Generic XQL file:
packages/acs-tcl/tcl/apm-install-procs.xql

PostgreSQL XQL file:
packages/acs-tcl/tcl/apm-install-procs-postgresql.xql

Oracle XQL file:
packages/acs-tcl/tcl/apm-install-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: