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
d1bf0476
Commit
d1bf0476
authored
Oct 20, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repofix: cleanup repo change list
parent
f5c6830e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
+11
-12
epm-repofix
bin/epm-repofix
+11
-12
No files found.
bin/epm-repofix
View file @
d1bf0476
...
@@ -199,8 +199,7 @@ __subst_with_repo_url()
...
@@ -199,8 +199,7 @@ __subst_with_repo_url()
__change_repo
()
__change_repo
()
{
{
local
SHORT
=
"
$1
"
local
REPLTO
=
"
$1
"
local
REPLTO
=
"
$2
"
local
NN
local
NN
epm
--quiet
repo list |
grep
-v
"file:/"
|
while
read
nn
;
do
epm
--quiet
repo list |
grep
-v
"file:/"
|
while
read
nn
;
do
NN
=
"
$(
__subst_with_repo_url
"
$nn
"
"
$REPLTO
"
)
"
NN
=
"
$(
__subst_with_repo_url
"
$nn
"
"
$REPLTO
"
)
"
...
@@ -214,31 +213,31 @@ __epm_repochange_alt()
...
@@ -214,31 +213,31 @@ __epm_repochange_alt()
{
{
case
"
$1
"
in
case
"
$1
"
in
"--list"
)
"--list"
)
echo
"Possible targets: etersoft eterfund.org yandex basealt altlinux.org"
echo
"Possible targets: etersoft
datacenter.by truenetwork msu
eterfund.org yandex basealt altlinux.org"
;;
;;
"etersoft"
)
"etersoft"
)
__change_repo
etersoft
"//download.etersoft.ru/pub ALTLinux"
__change_repo
"//download.etersoft.ru/pub ALTLinux"
;;
;;
"datacenter"
)
"datacenter
.by
"
)
__change_repo
etersoft
"//mirror.datacenter.by/pub ALTLinux"
__change_repo
"//mirror.datacenter.by/pub ALTLinux"
;;
;;
"truenetwork"
)
"truenetwork"
)
__change_repo
etersoft
"//mirror.truenetwork.ru altlinux"
__change_repo
"//mirror.truenetwork.ru altlinux"
;;
;;
"msu"
)
"msu"
)
__change_repo
etersoft
"//mirror.cs.msu.ru alt"
__change_repo
"//mirror.cs.msu.ru alt"
;;
;;
"eterfund.org"
)
"eterfund.org"
)
__change_repo
eterfund.org
"//mirror.eterfund.org/download.etersoft.ru/pub ALTLinux"
__change_repo
"//mirror.eterfund.org/download.etersoft.ru/pub ALTLinux"
;;
;;
"yandex"
)
"yandex"
)
__change_repo
mirror.yandex
"//mirror.yandex.ru altlinux"
__change_repo
"//mirror.yandex.ru altlinux"
;;
;;
"basealt"
)
"basealt"
)
__change_repo
ftp.basealt
"//ftp.basealt.ru/pub/distributions ALTLinux"
__change_repo
"//ftp.basealt.ru/pub/distributions ALTLinux"
;;
;;
"altlinux.org"
)
"altlinux.org"
)
__change_repo
ftp.altlinux
"//ftp.altlinux.org/pub/distributions ALTLinux"
__change_repo
"//ftp.altlinux.org/pub/distributions ALTLinux"
;;
;;
*
)
*
)
fatal
'Unsupported change key $1'
fatal
'Unsupported change key $1'
...
...
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