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
8a1e5293
Commit
8a1e5293
authored
Dec 12, 2021
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add initial --update [receipt|all] support (do update in any case as for now)
parent
00edca56
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
epm-play
bin/epm-play
+20
-1
No files found.
bin/epm-play
View file @
8a1e5293
...
...
@@ -80,6 +80,7 @@ Options:
--list - list all installed apps
--list-all - list all available apps
--short - print only names
--update [APP|all] - update APP (or all installed apps) if there is new version
EOF
exit
fi
...
...
@@ -94,6 +95,24 @@ if [ "$1" = "--remove" ] ; then
exit
fi
if
[
"
$1
"
=
"--update"
]
;
then
shift
if
[
"
$1
"
=
"all"
]
;
then
shift
for
i
in
$(
__list_installed_app
)
;
do
echo
"
$i
"
prescription
=
"
$i
"
__epm_play_run
$prescription
--run
"
$@
"
done
exit
fi
__check_installed_app
"
$1
"
||
fatal
"
$1
is not installed"
prescription
=
"
$1
"
shift
__epm_play_run
$prescription
--run
"
$@
"
exit
fi
if
[
"
$1
"
=
"--list"
]
||
[
"
$1
"
=
"--installed"
]
;
then
shift
local
i
...
...
@@ -135,7 +154,7 @@ if [ "$1" = "--list-all" ] || [ -z "$*" ] ; then
printf
" %-20s - %s
\n
"
"
$name
"
"
$desc
"
done
echo
echo
"run epm play --list to list installed only
or --remove to remove one
"
echo
"run epm play --list to list installed only
, or --remove to remove one, or --update to update [all] installed apps
"
exit
fi
...
...
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