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
Nurlan
eepm
Commits
4a1334f4
Commit
4a1334f4
authored
Nov 24, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
downgrade: use distro-sync for downgrade with yum/dnf
parent
ddd7984c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
epm-downgrade
bin/epm-downgrade
+10
-2
No files found.
bin/epm-downgrade
View file @
4a1334f4
...
...
@@ -90,10 +90,18 @@ epm_downgrade()
;;
yum-rpm
)
# can do update repobase automagically
sudocmd yum downgrade
$pkg_filenames
if
[
-n
"
$pkg_filenames
"
]
;
then
sudocmd yum downgrade
$pkg_filenames
else
sudocmd yum distro-sync
fi
;;
dnf-rpm
)
sudocmd dnf downgrade
$pkg_filenames
if
[
-n
"
$pkg_filenames
"
]
;
then
sudocmd dnf downgrade
$pkg_filenames
else
sudocmd dnf distro-sync
fi
;;
urpm-rpm
)
assure_exists urpm-reposync urpm-tools
...
...
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