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
b18be7cc
Commit
b18be7cc
authored
May 07, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm downgrade: run downgrade only for installed packages
parent
3d4c32f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
epm-downgrade
bin/epm-downgrade
+8
-1
No files found.
bin/epm-downgrade
View file @
b18be7cc
...
...
@@ -96,7 +96,14 @@ epm_downgrade()
__epm_remove_apt_downgrade_preferences
elif
[
-n
"
$pkg_files
"
]
;
then
load_helper epm-install
(
pkg_files
=
$pkg_files
force
=
"
$force
-F --oldpackage"
epm_install
)
local
pkgs
=
''
local
i
for
i
in
$pkg_files
;
do
local
pkgname
=
"
$(
epm print name
for
package
$i
)
"
is_installed
$pkgname
||
continue
pkgs
=
"
$pkgs
$i
"
done
(
force
=
"
$force
--oldpackage"
epm_install_files
$pkgs
)
fi
return
;;
...
...
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