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
9dda124b
Commit
9dda124b
authored
May 12, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm assure: move warning text from assure_exists()
parent
3f3429a8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
epm-assure
bin/epm-assure
+6
-2
epm-sh-functions
bin/epm-sh-functions
+1
-3
No files found.
bin/epm-assure
View file @
9dda124b
...
...
@@ -103,6 +103,10 @@ epm_assure()
[
-n
"
$PACKAGEVERSION
"
]
||
return
0
# check if we couldn't update and still need update
__epm_need_update
$PACKAGE
$PACKAGEVERSION
&&
return
1
return
0
__epm_need_update
$PACKAGE
$PACKAGEVERSION
||
return
0
local
textpackage
[
-n
"
$PACKAGEVERSION
"
]
&&
textpackage
=
" >=
$PACKAGEVERSION
"
warning
"Can't assure in '
$CMD
' command from
$PACKAGE$textpackage
package"
return
1
}
bin/epm-sh-functions
View file @
9dda124b
...
...
@@ -563,10 +563,8 @@ assure_exists()
{
load_helper epm-assure
local
package
=
"
$2
"
local
textpackage
=
[
-n
"
$package
"
]
||
package
=
"
$(
__get_package_for_command
"
$1
"
)
"
[
-n
"
$3
"
]
&&
textpackage
=
" >=
$3
"
(
direct
=
''
epm_assure
"
$1
"
$package
$3
)
||
fatal
"Can't assure in '
$1
' command from
$package$textpackage
package"
(
direct
=
''
interactive
=
$ask
epm_assure
"
$1
"
$package
$3
)
||
fatal
}
assure_exists_erc
()
...
...
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