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
4b33bb2e
Commit
4b33bb2e
authored
Jul 15, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-play: add installed-version support
parent
16bad341
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
epm-play
bin/epm-play
+15
-0
No files found.
bin/epm-play
View file @
4b33bb2e
...
...
@@ -51,6 +51,14 @@ __check_installed_app()
grep
-q
--
"^
$1
\$
"
$epm_vardir
/installed-app
}
__get_app_version
()
{
local
script
=
"
$psdir
/
$1
.sh"
[
-x
"
$script
"
]
||
return
$script
--installed-version
return
}
__list_all_app
()
{
for
i
in
$psdir
/
*
.sh
;
do
...
...
@@ -259,6 +267,13 @@ if [ "$1" = "--installed" ] || [ "$1" = "installed" ] ; then
exit
fi
if
[
"
$1
"
=
"--installed-version"
]
||
[
"
$1
"
=
"installed-version"
]
;
then
shift
__get_app_version
"
$1
"
#[ -n "$quiet" ] && exit
exit
fi
if
[
"
$1
"
=
"--list"
]
||
[
"
$1
"
=
"--list-installed"
]
||
[
"
$1
"
=
"list"
]
||
[
"
$1
"
=
"list-installed"
]
;
then
__epm_play_list_installed
exit
...
...
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