Commit a6cacff6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repo: add create command (epm repo index --init)

parent 3ab1c90c
...@@ -105,6 +105,10 @@ epm_repo() ...@@ -105,6 +105,10 @@ epm_repo()
load_helper epm-commentrepo load_helper epm-commentrepo
epm_commentrepo "$@" epm_commentrepo "$@"
create) # HELPCMD: create (initialize) repo: [path] [name]
load_helper epm-repoindex
epm_repocreate "$@"
;;
index) # HELPCMD: index repo: [--init] [path] [name] index) # HELPCMD: index repo: [--init] [path] [name]
load_helper epm-repoindex load_helper epm-repoindex
epm_repoindex "$@" epm_repoindex "$@"
......
...@@ -123,3 +123,8 @@ esac ...@@ -123,3 +123,8 @@ esac
} }
epm_repocreate()
{
epm_repoindex --init "$@"
}
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