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
c5d4080f
Commit
c5d4080f
authored
Oct 19, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-addrepo: small refactoring for alt
parent
8bde27db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
epm-addrepo
bin/epm-addrepo
+15
-1
No files found.
bin/epm-addrepo
View file @
c5d4080f
...
...
@@ -63,9 +63,22 @@ __epm_addrepo_etersoft_addon()
__epm_addrepo_altlinux
()
{
local
repo
=
"
$
@
"
local
repo
=
"
$
*
"
local
branch
=
"
$(
echo
"
$DISTRVERSION
"
|
tr
"[:upper:]"
"[:lower:]"
)
"
[
-n
"
$branch
"
]
||
fatal
"Empty DISTRVERSION"
if
[
-z
"
$repo
"
]
||
[
"
$repo
"
==
"--help"
]
;
then
info
"Add branch repo. Use follow params:"
sudocmd apt-repo
$dryrun
add branch
echo
"etersoft - for LINUX@Etersoft repo"
echo
"basealt - for BaseALT repo"
echo
"yandex - for BaseALT repo mirror on yandex (recommended)"
echo
"<task number> - add task repo"
echo
"archive 2018/02/09 - for archive from that date"
echo
"autoimports - for BaseALT autoimports repo"
return
fi
case
"
$1
"
in
etersoft
)
info
"add Etersoft's addon repo"
...
...
@@ -166,6 +179,7 @@ local repo="$*"
case
$DISTRNAME
in
ALTLinux
)
# Note! Don't use quotes here
__epm_addrepo_altlinux
$repo
return
;;
...
...
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