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
c970af23
Commit
c970af23
authored
Sep 04, 2021
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-upgrade: restore repo list after error
parent
d3d09eb7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
epm-upgrade
bin/epm-upgrade
+5
-0
No files found.
bin/epm-upgrade
View file @
c970af23
...
...
@@ -33,8 +33,11 @@ epm_upgrade()
load_helper epm-sh-altlinux
if
tasknumber
"
$@
"
>
/dev/null
;
then
load_helper epm-addrepo
load_helper epm-reposave
load_helper epm-removerepo
load_helper epm-Install
try_change_alt_repo
epm_addrepo
"
$@
"
local
installlist
=
"
$(
get_task_packages
$*
)
"
# hack: drop -devel packages to avoid package provided by multiple packages
...
...
@@ -45,6 +48,8 @@ epm_upgrade()
[
-n
"
$verbose
"
]
&&
info
"Packages to upgrade:
$installlist
"
(
pkg_names
=
"
$installlist
"
epm_Install
)
||
fatal
"Can't update repo"
epm_removerepo
"
$@
"
end_change_alt_repo
return
fi
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