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
Nurlan
eepm
Commits
6db5fc38
Commit
6db5fc38
authored
Jul 28, 2015
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-assure: use epm command instead internal functions
parent
6ed16d31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
epm-assure
bin/epm-assure
+3
-9
No files found.
bin/epm-assure
View file @
6db5fc38
...
...
@@ -57,7 +57,6 @@ __epm_assure()
[
-n
"
$2
"
]
||
fatal
"You need run with package name param when use with absolute path"
# TODO: below we install in some semimanual way
docmd epm
--auto
--skip-installed
install
"
$2
"
return
fi
...
...
@@ -74,18 +73,13 @@ __epm_assure()
# TODO: use package name normalization
info
"Installing appropriate package for
$1
command..."
# TODO: why we can't use epm install here? it can be non interactive and skip-installed
# QUESTION: how we can this package is installed if its not?
load_helper epm-install
local
PACKAGE
=
"
$2
"
[
-n
"
$PACKAGE
"
]
||
PACKAGE
=
"
$1
"
#epm install $2
# copied from epm_install
local
names
=
"
$(
echo
"
$PACKAGE
"
| filter_out_installed_packages
)
"
local
PACKAGEVERSION
=
"
$3
"
warning
"TODO: check for PACKAGEVERSION is missed
"
non_interactive
=
1 epm_install_names
$names
docmd epm
--auto
--skip-installed
install
"
$PACKAGE
"
}
...
...
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