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
4c4c4db9
Commit
4c4c4db9
authored
3 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm upgrade: fix removing repo after upgrade
parent
5ae0dd91
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
epm-upgrade
bin/epm-upgrade
+3
-3
No files found.
bin/epm-upgrade
View file @
4c4c4db9
...
...
@@ -31,11 +31,11 @@ epm_upgrade()
if
[
"
$DISTRNAME
"
=
"ALTLinux"
]
;
then
load_helper epm-sh-altlinux
if
tasknumber
"
$
*
"
>
/dev/null
;
then
if
tasknumber
"
$
@
"
>
/dev/null
;
then
load_helper epm-addrepo
load_helper epm-removerepo
load_helper epm-Install
epm_addrepo
"
$
*
"
epm_addrepo
"
$
@
"
local
installlist
=
"
$(
get_task_packages
$*
)
"
# hack: drop -devel packages to avoid package provided by multiple packages
installlist
=
"
$(
estrlist reg_exclude
".*-devel .*-devel-static"
"
$installlist
"
)
"
...
...
@@ -44,7 +44,7 @@ epm_upgrade()
installlist
=
"
$(
get_only_installed_packages
"
$installlist
"
)
"
[
-n
"
$verbose
"
]
&&
info
"Packages to upgrade:
$installlist
"
(
pkg_names
=
"
$installlist
"
epm_Install
)
epm_removerepo
"
$
pkg_names
"
epm_removerepo
"
$
@
"
return
fi
fi
...
...
This diff is collapsed.
Click to expand it.
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