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
20e26eb3
Commit
20e26eb3
authored
Apr 03, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm update: run upgrade with used with args
parent
e04ce67b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
epm
bin/epm
+3
-3
epm-update
bin/epm-update
+6
-2
No files found.
bin/epm
View file @
20e26eb3
...
...
@@ -320,9 +320,9 @@ check_command()
;;
# HELPCMD: PART: Repository control:
update|update-repo|ur
)
# HELPCMD: update remote package repository databases
update|update-repo|ur
)
# HELPCMD: update remote package repository databases (with args, run upgrade)
epm_cmd
=
update
direct_args
=
1
#
direct_args=1
;;
addrepo|ar|--add-repo
)
# HELPCMD: add package repo (etersoft, autoimports, archive 2017/01/31); run with param to get list
epm_cmd
=
addrepo
...
...
@@ -412,7 +412,7 @@ check_command()
Downgrade
)
# HELPCMD: force update package base, then run downgrade [all] packages to the repo state
epm_cmd
=
Downgrade
;;
downgrade
)
# HELPCMD: downgrade [all] packages to the repo state
downgrade
|distro-sync
)
# HELPCMD: downgrade [all] packages to the repo state
epm_cmd
=
downgrade
;;
download|fetch|fc
)
# HELPCMD: download package(s) file to the current dir
...
...
bin/epm-update
View file @
20e26eb3
...
...
@@ -82,8 +82,6 @@ esac
__epm_update
()
{
[
-z
"
$*
"
]
||
fatal
"No arguments are allowed for epm update command"
info
"Running update the package index files from remote package repository database ..."
local
ret
=
0
...
...
@@ -198,6 +196,12 @@ epm_update()
return
fi
# update with args is the alias for upgrade
if
[
-n
"
$*
"
]
;
then
epm upgrade
"
$@
"
return
fi
__epm_update
"
$@
"
||
return
__epm_touch_pkg
...
...
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