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
4180f8a4
Commit
4180f8a4
authored
Apr 11, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-addrepo: add to rewrite p1?/p? and c1?f?/c?f? without apt-repo
parent
aa988408
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
24 deletions
+15
-24
epm-addrepo
bin/epm-addrepo
+15
-24
No files found.
bin/epm-addrepo
View file @
4180f8a4
...
...
@@ -73,33 +73,20 @@ __epm_addrepo_etersoft_addon()
fi
}
__epm_addrepo_alt
sp
()
__epm_addrepo_alt
_repo
()
{
local
comp
local
sign
local
repo
=
"
$1
"
case
"
$repo
"
in
c10f1
)
comp
=
"CF3"
;;
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
comp
=
"
$repo
"
sign
=
"
$repo
"
rhas
"
$repo
"
"^c"
&&
sign
=
"cert8"
local
baseurl
=
"http://ftp.basealt.ru/pub/distributions/ALTLinux"
epm repo add
"rpm [
$sign
]
$baseurl
$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
epm repo add
"rpm [
$sign
]
$baseurl
$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
epm repo add
"rpm [
$sign
]
$baseurl
$comp
/branch/noarch classic"
||
return
}
get_archlist
()
...
...
@@ -308,8 +295,12 @@ __epm_addrepo_altlinux()
fi
case
"
$repo
"
in
c10f
*
|
c9f
*
|
c9
)
__epm_addrepo_altsp
"
$repo
"
c10f2|c10f1|c9f2|c9f1|c9
)
__epm_addrepo_alt_repo
"
$repo
"
return
;;
p11|p10|p9|p8
)
__epm_addrepo_alt_repo
"
$repo
"
return
;;
esac
...
...
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