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
2f33167a
Commit
2f33167a
authored
Apr 26, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repo change: add --list
parent
1219c6bb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
epm-repo
bin/epm-repo
+1
-1
epm-repofix
bin/epm-repofix
+4
-1
No files found.
bin/epm-repo
View file @
2f33167a
...
@@ -29,7 +29,7 @@ Examples:
...
@@ -29,7 +29,7 @@ Examples:
epm repo set c10f1 - clean all sources and add default repo for c10f1 branch
epm repo set c10f1 - clean all sources and add default repo for c10f1 branch
epm repo switch p10 - change only branch name to p10
epm repo switch p10 - change only branch name to p10
epm repo add autoimports - add autoimports (from Fedora) repo
epm repo add autoimports - add autoimports (from Fedora) repo
epm repo change yandex - change only base url part to mirror.yandex.ru server
epm repo change yandex - change only base url part to mirror.yandex.ru server
(use epm repo change --list to get possible targets)
epm repo list - list current repos
epm repo list - list current repos
'
'
}
}
...
...
bin/epm-repofix
View file @
2f33167a
...
@@ -210,6 +210,9 @@ __change_repo()
...
@@ -210,6 +210,9 @@ __change_repo()
__epm_repochange_alt
()
__epm_repochange_alt
()
{
{
case
"
$1
"
in
case
"
$1
"
in
"--list"
)
echo
"Possible targets: etersoft eterfund.org yandex basealt altlinux.org"
;;
"etersoft"
)
"etersoft"
)
__change_repo etersoft
"//download.etersoft.ru/pub ALTLinux"
__change_repo etersoft
"//download.etersoft.ru/pub ALTLinux"
;;
;;
...
@@ -238,7 +241,7 @@ epm_repochange()
...
@@ -238,7 +241,7 @@ epm_repochange()
epm_repofix
epm_repofix
case
$BASEDISTRNAME
in
case
$BASEDISTRNAME
in
"alt"
)
"alt"
)
__epm_repochange_alt
"
$
1
"
__epm_repochange_alt
"
$
@
"
;;
;;
*
)
*
)
fatal
'Repo change Unsupported for $BASEDISTRNAME'
fatal
'Repo change Unsupported for $BASEDISTRNAME'
...
...
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