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
3b0ddb71
Commit
3b0ddb71
authored
Apr 21, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repo add/remove: add korinf support
parent
2f1a4473
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
epm-addrepo
bin/epm-addrepo
+8
-1
epm-removerepo
bin/epm-removerepo
+4
-0
epm-repo
bin/epm-repo
+1
-1
No files found.
bin/epm-addrepo
View file @
3b0ddb71
...
...
@@ -168,12 +168,13 @@ __epm_addrepo_altlinux_help()
cat
<<
EOF
epm repo add - add branch repo. Use follow params:
etersoft - for LINUX@Etersoft repo"
basealt - for BaseALT repo"
yandex - for BaseALT repo mirror hosted by Yandex (recommended)"
altsp - add ALT SP repo"
autoimports - for BaseALT autoimports repo"
altlinuxclub - for altlinuxclub repo (http://altlinuxclub.ru/)"
etersoft - for LINUX@Etersoft repo"
korinf - for Korinf repo"
<task number> - add task repo"
archive 2018/02/09 - add archive of the repo from that date"
/dir/to/repo [component] - add repo dir generated with epm repo index --init"
...
...
@@ -244,6 +245,12 @@ __epm_addrepo_altlinux()
autoimports.
*
|
altlinuxclub.
*
)
repo
=
"
$1
"
;;
korinf
)
local
http
=
"http"
epm installed apt-https
&&
http
=
"https"
epm repo add
"rpm
$http
://download.etersoft.ru/pub Korinf/ALTLinux/
$DISTRVERSION
main"
return
0
;;
archive
)
datestr
=
"
$2
"
echo
"
$datestr
"
|
grep
-Eq
"^20[0-2][0-9]/[01][0-9]/[0-3][0-9]$"
||
fatal
"use follow date format: 2017/12/31"
...
...
bin/epm-removerepo
View file @
3b0ddb71
...
...
@@ -72,6 +72,10 @@ __epm_removerepo_alt()
info
"remove archive repos"
__epm_removerepo_alt_grepremove
"archive/"
;;
korinf
)
info
"remove korinf repo"
__epm_removerepo_alt_grepremove
"Korinf/"
;;
tasks
)
info
"remove task repos"
__epm_removerepo_alt_grepremove
" repo/[0-9]+/"
...
...
bin/epm-repo
View file @
3b0ddb71
...
...
@@ -97,7 +97,7 @@ epm_repo()
epm_addrepo
"
$@
"
epm update
;;
rm
|
remove
)
# HELPCMD: remove repository from the sources lists (epm repo remove all for all)
rm
|
del|remove
)
# HELPCMD: remove repository from the sources lists (epm repo remove all for all)
load_helper epm-removerepo
epm_removerepo
"
$@
"
;;
...
...
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