Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
6f7f746e
You need to sign in or sign up before continuing.
Commit
6f7f746e
authored
4 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add tip about epm repo --help and improve epm repo --help
parent
f71bf98c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
epm-filelist
bin/epm-filelist
+1
-1
epm-repo
bin/epm-repo
+7
-0
epm-search_file
bin/epm-search_file
+1
-1
No files found.
bin/epm-filelist
View file @
6f7f746e
...
@@ -29,7 +29,7 @@ __alt_local_content_filelist()
...
@@ -29,7 +29,7 @@ __alt_local_content_filelist()
load_helper epm-sh-altlinux
load_helper epm-sh-altlinux
local
CI
=
"
$(
get_local_alt_contents_index
)
"
local
CI
=
"
$(
get_local_alt_contents_index
)
"
[
-n
"
$CI
"
]
||
fatal
"Have no local contents index"
[
-n
"
$CI
"
]
||
fatal
"Have no local contents index
. Check epm repo --help.
"
# TODO: safe way to use less
# TODO: safe way to use less
#local OUTCMD="less"
#local OUTCMD="less"
...
...
This diff is collapsed.
Click to expand it.
bin/epm-repo
View file @
6f7f746e
...
@@ -27,6 +27,13 @@ epm_repo()
...
@@ -27,6 +27,13 @@ epm_repo()
case
$CMD
in
case
$CMD
in
"-h"
|
"--help"
|
help
)
# HELPCMD: help
"-h"
|
"--help"
|
help
)
# HELPCMD: help
get_help HELPCMD
$SHAREDIR
/epm-repo
get_help HELPCMD
$SHAREDIR
/epm-repo
cat
<<
EOF
Examples:
epm repo set p9
epm repo add autoimports
epm repo list
epm repo change yandex
EOF
;;
;;
""
|
list
)
# HELPCMD: list packages
""
|
list
)
# HELPCMD: list packages
load_helper epm-repolist
load_helper epm-repolist
...
...
This diff is collapsed.
Click to expand it.
bin/epm-search_file
View file @
6f7f746e
...
@@ -34,7 +34,7 @@ __alt_local_content_search()
...
@@ -34,7 +34,7 @@ __alt_local_content_search()
info
"Locate contents index file(s) ..."
info
"Locate contents index file(s) ..."
local
CI
=
"
$(
get_local_alt_contents_index
)
"
local
CI
=
"
$(
get_local_alt_contents_index
)
"
# TODO use something like
# TODO use something like
[
-n
"
$CI
"
]
||
fatal
"Have no local contents index"
[
-n
"
$CI
"
]
||
fatal
"Have no local contents index
. Check epm repo --help.
"
info
"Searching in"
info
"Searching in"
echo
"
$CI
"
echo
"
$CI
"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment