Commit dafaabe6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-epm_install: improve help

parent 21465391
...@@ -81,22 +81,23 @@ __epm_korinf_install_eepm() { ...@@ -81,22 +81,23 @@ __epm_korinf_install_eepm() {
epm_epm_install_help() epm_epm_install_help()
{ {
echo "epm ei [packages] - install packages from EPM based Korinf repository" echo "epm ei [URL] [packages] - install packages from EPM based Korinf repository"
get_help HELPCMD $SHAREDIR/epm-epm_install get_help HELPCMD $SHAREDIR/epm-epm_install
cat <<EOF cat <<EOF
Default Korinf repository: $EPM_KORINF_REPO_URL Default Korinf repository: $EPM_KORINF_REPO_URL
Examples: Examples:
epm ei [epm|eepm] - install latest eepm (default action) epm ei [epm|eepm] - install latest eepm (default action)
epm <package1> [<package2>...] - install package(s) from default Korinf repo epm ei <package1> [<package2>...] - install package(s) from default Korinf repo
epm http://someurl.ru <package> - install package(s) from the URL epm http://someurl.ru <package> - install package(s) from a repo defined by URL
epm --list <package mask> - list available packages by mask epm --list <package mask> - list available packages by mask
EOF EOF
} }
epm_epm_install() { epm_epm_install()
{
if [ "$BASEDISTRNAME" = "alt" ] && [ "$DISTRVERSION" != "Sisyphus" ] && [ "$EPMMODE" = "package" ] ; then if [ "$BASEDISTRNAME" = "alt" ] && [ "$DISTRVERSION" != "Sisyphus" ] && [ "$EPMMODE" = "package" ] ; then
if __epm_check_if_package_from_repo eepm ; then if __epm_check_if_package_from_repo eepm ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment