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
5ae0dd91
Commit
5ae0dd91
authored
Sep 03, 2021
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm release-upgrade: install altlinux-release-* if /etc/altlinux-release…
epm release-upgrade: install altlinux-release-* if /etc/altlinux-release differents from target distro
parent
74ee56f7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
epm-release_upgrade
bin/epm-release_upgrade
+3
-1
No files found.
bin/epm-release_upgrade
View file @
5ae0dd91
...
...
@@ -83,6 +83,7 @@ __wcount()
echo
"
$*
"
|
wc
-w
}
# TODO: remove it or move to distro_info
__detect_alt_release_by_repo
()
{
local
BRD
=
$(
cat
/etc/apt/sources.list /etc/apt/sources.list.d/
*
.list
\
...
...
@@ -231,7 +232,7 @@ __check_system()
fi
if
[
"
$TO
"
!=
"Sisyphus"
]
;
then
if
epm installed altlinux-release-sisyphus
>
/dev/null
;
then
if
[
"
$(
$DISTRVENDOR
-v
)
"
!=
"
$TO
"
]
||
epm installed altlinux-release-sisyphus
>
/dev/null
;
then
warning
"Target distro is
$TO
, but altlinux-release-sisyphus package is installed."
warning
"Trying to replace it with altlinux-release-
$TO
"
docmd epm
install
altlinux-release-
$TO
...
...
@@ -482,6 +483,7 @@ epm_release_upgrade()
ALTLinux
)
__epm_ru_update
||
fatal
# TODO: remove this hack (or move it to distro_info)
# try to detect current release by repo
if
[
"
$DISTRVERSION
"
=
"Sisyphus"
]
||
[
-z
"
$DISTRVERSION
"
]
;
then
local
dv
...
...
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