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
33577d1e
Commit
33577d1e
authored
Apr 05, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm addrepo: add support for c9f*
parent
db74b050
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
epm-addrepo
bin/epm-addrepo
+34
-0
No files found.
bin/epm-addrepo
View file @
33577d1e
...
...
@@ -73,6 +73,32 @@ __epm_addrepo_etersoft_addon()
fi
}
__epm_addrepo_altsp
()
{
local
comp
local
repo
=
"
$1
"
case
"
$repo
"
in
c9f2
)
comp
=
"CF2"
;;
c9f1
)
comp
=
"CF1"
;;
c9
)
comp
=
"cf"
;;
*
)
fatal
"Uknown CF comp
$repo
"
;;
esac
epm repo add
"rpm [cert8] http://update.altsp.su/pub/distributions/ALTLinux
$comp
/branch/
$DISTRARCH
classic"
||
return
if
[
"
$DISTRARCH
"
=
"x86_64"
]
;
then
epm repo add
"rpm [cert8] http://update.altsp.su/pub/distributions/ALTLinux
$comp
/branch/x86_64-i586 classic"
||
return
fi
epm repo add
"rpm [cert8] http://update.altsp.su/pub/distributions/ALTLinux
$comp
/branch/noarch classic"
||
return
}
get_archlist
()
{
echo
"noarch"
...
...
@@ -222,6 +248,14 @@ __epm_addrepo_altlinux()
return
fi
case
"
$repo
"
in
c9f2|c9f1|c9
)
__epm_addrepo_altsp
"
$repo
"
return
;;
esac
# don't add again
epm repo list
--quiet
|
grep
-q
-F
"
$repo
"
&&
return
0
...
...
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