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
7324a585
Commit
7324a585
authored
Apr 14, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add template for ALT Linux release upgrade
parent
07e19e83
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
epm-release-upgrade
bin/epm-release-upgrade
+14
-3
No files found.
bin/epm-release-upgrade
View file @
7324a585
#!/bin/sh
#!/bin/sh
#
#
# Copyright (C) 2013 Etersoft
# Copyright (C) 2013
, 2016
Etersoft
# Copyright (C) 2013 Vitaly Lipatov <lav@etersoft.ru>
# Copyright (C) 2013
, 2016
Vitaly Lipatov <lav@etersoft.ru>
#
#
# This program is free software: you can redistribute it and/or modify
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# it under the terms of the GNU Affero General Public License as published by
...
@@ -17,6 +17,17 @@
...
@@ -17,6 +17,17 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
__update_alt_repo_to_next_distro
()
{
case
"
$DISTRVERSION
"
in
# p7)
# ;;
*
)
info
"Have no idea how to update from
$DISTRVERSION
"
return
1
esac
}
epm_release_upgrade
()
epm_release_upgrade
()
{
{
info
"Starting upgrade whole system to the next release"
info
"Starting upgrade whole system to the next release"
...
@@ -26,7 +37,7 @@ epm_release_upgrade()
...
@@ -26,7 +37,7 @@ epm_release_upgrade()
apt-rpm
)
apt-rpm
)
docmd epm update
docmd epm update
docmd epm
install
apt rpm
docmd epm
install
apt rpm
showcmd
"TODO: change repo"
__update_alt_repo_to_next_distro
||
exit
docmd epm Upgrade
docmd epm Upgrade
docmd epm update-kernel
docmd epm update-kernel
;;
;;
...
...
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