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
134a0e4e
Commit
134a0e4e
authored
Mar 08, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes
parent
54b6e87c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
epm-release_upgrade
bin/epm-release_upgrade
+2
-1
epm-remove
bin/epm-remove
+4
-0
epm-repofix
bin/epm-repofix
+1
-1
No files found.
bin/epm-release_upgrade
View file @
134a0e4e
...
@@ -336,11 +336,12 @@ epm_release_upgrade()
...
@@ -336,11 +336,12 @@ epm_release_upgrade()
sudocmd yum clean all
sudocmd yum clean all
# TODO
# TODO
showcmd rpm
-Uvh
http://mirror.yandex.ru/fedora/linux/releases/16/Fedora/x86_64/os/Packages/fedora-release-16-1.noarch.rpm
showcmd rpm
-Uvh
http://mirror.yandex.ru/fedora/linux/releases/16/Fedora/x86_64/os/Packages/fedora-release-16-1.noarch.rpm
do
cmd epm Upgrade
show
cmd epm Upgrade
;;
;;
dnf-rpm
)
dnf-rpm
)
info
"Check https://fedoraproject.org/wiki/DNF_system_upgrade for an additional info"
info
"Check https://fedoraproject.org/wiki/DNF_system_upgrade for an additional info"
docmd epm
install
dnf
docmd epm
install
dnf
#docmd epm install epel-release yum-utils
sudocmd dnf
--refresh
upgrade
sudocmd dnf
--refresh
upgrade
sudocmd dnf clean all
sudocmd dnf clean all
assure_exists dnf-plugin-system-upgrade
assure_exists dnf-plugin-system-upgrade
...
...
bin/epm-remove
View file @
134a0e4e
...
@@ -288,6 +288,10 @@ epm_remove()
...
@@ -288,6 +288,10 @@ epm_remove()
epm_remove_low
$pkg_names
&&
return
epm_remove_low
$pkg_names
&&
return
local
STATUS
=
$?
local
STATUS
=
$?
# TODO: check if we need continue with hi level
# TODO: check if we need continue with hi level
# TODO: we need fail if
# # rpm -ev python2-nase
# error: package python2-nase is not installed
if
[
-n
"
$direct
"
]
||
[
-n
"
$nodeps
"
]
;
then
if
[
-n
"
$direct
"
]
||
[
-n
"
$nodeps
"
]
;
then
return
$STATUS
return
$STATUS
...
...
bin/epm-repofix
View file @
134a0e4e
...
@@ -40,7 +40,7 @@ __try_fix_apt_source_list()
...
@@ -40,7 +40,7 @@ __try_fix_apt_source_list()
if
__repofix_check_vendor
$br
;
then
if
__repofix_check_vendor
$br
;
then
regexp_subst
"/
$path
/s/^rpm[[:space:]]*([fhr])/rpm [
$br
]
\1
/"
$list
regexp_subst
"/
$path
/s/^rpm[[:space:]]*([fhr])/rpm [
$br
]
\1
/"
$list
else
else
warning
"Skip set
$br
vendor key (it
mis
ssed) for
$list
"
warning
"Skip set
$br
vendor key (it
is mi
ssed) for
$list
"
regexp_subst
"/
$path
/s/^rpm[[:space:]]*
\[
$br
\]
[[:space:]]*([fhr])/rpm
\1
/"
$list
regexp_subst
"/
$path
/s/^rpm[[:space:]]*
\[
$br
\]
[[:space:]]*([fhr])/rpm
\1
/"
$list
fi
fi
fi
fi
...
...
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