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
0c7f8263
Commit
0c7f8263
authored
Apr 15, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes
parent
f8d71ddc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
epm-release_upgrade
bin/epm-release_upgrade
+2
-1
epm-repofix
bin/epm-repofix
+1
-2
No files found.
bin/epm-release_upgrade
View file @
0c7f8263
...
@@ -31,7 +31,7 @@ __replace_alt_version_in_repo()
...
@@ -31,7 +31,7 @@ __replace_alt_version_in_repo()
regexp_subst
"/^ *#/! s!
$1
/branch!
$2
/branch!g"
$i
regexp_subst
"/^ *#/! s!
$1
/branch!
$2
/branch!g"
$i
# TODO: start with improve to [p8] - install some package firstly?
# TODO: start with improve to [p8] - install some package firstly?
regexp_subst
"/^ *#/! s
s
!
\[
$1
\]
![alt]/branch!g"
$i
regexp_subst
"/^ *#/! s!
\[
$1
\]
![alt]/branch!g"
$i
done
done
docmd apt-repo list
docmd apt-repo list
}
}
...
@@ -62,6 +62,7 @@ epm_release_upgrade()
...
@@ -62,6 +62,7 @@ epm_release_upgrade()
ALTLinux
)
ALTLinux
)
docmd epm update
docmd epm update
docmd epm
install
apt rpm
docmd epm
install
apt rpm
load_helper epm-repofix
pkg_filenames
=
epm_repofix
pkg_filenames
=
epm_repofix
__update_alt_repo_to_next_distro
||
exit
__update_alt_repo_to_next_distro
||
exit
docmd epm Upgrade
docmd epm Upgrade
...
...
bin/epm-repofix
View file @
0c7f8263
...
@@ -17,11 +17,10 @@
...
@@ -17,11 +17,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# FIXME
SUBST_ALT_RULE
=
's!^([^#].*)[/ ](ALTLinux|LINUX\@Etersoft)[/ ](Sisyphus|p8[/ ]branch|p7[/ ]branch|p6[/ ]branch)[/ ](x86_64|i586|x86_64-i586|noarch) !\1 \2/\3/\4 !gi'
__fix_apt_sources_list
()
__fix_apt_sources_list
()
{
{
local
SUBST_ALT_RULE
=
's!^([^#].*)[/ ](ALTLinux|LINUX\@Etersoft)[/ ](Sisyphus|p8[/ ]branch|p7[/ ]branch|p6[/ ]branch)[/ ](x86_64|i586|x86_64-i586|noarch) !\1 \2/\3/\4 !gi'
local
i
local
i
assure_root
assure_root
for
i
in
"
$@
"
;
do
for
i
in
"
$@
"
;
do
...
...
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