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
e01e7a82
Commit
e01e7a82
authored
Oct 24, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes
parent
fe61751b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
epm-install
bin/epm-install
+1
-1
epm-repack
bin/epm-repack
+4
-4
No files found.
bin/epm-install
View file @
e01e7a82
...
...
@@ -586,7 +586,7 @@ epm_install()
# repack binary files
if
[
-n
"
$repack
"
]
;
then
# FIXME: see to_remove below
__epm_repack_rpm
$files
||
fatal
__epm_repack_
to_
rpm
$files
||
fatal
files
=
"
$repacked_rpms
"
fi
...
...
bin/epm-repack
View file @
e01e7a82
...
...
@@ -162,10 +162,11 @@ EOF
}
# will fill repacked_rpms var
__epm_repack_rpm
()
__epm_repack_
to_
rpm
()
{
assure_distr ALTLinux
"install --repack"
# install epm-repack for static (package based) dependencies
assure_exists fakeroot
||
fatal
assure_exists alien
||
fatal
assure_exists rpmbuild rpm-build
||
fatal
...
...
@@ -244,7 +245,7 @@ __epm_repack_rpm()
__epm_check_if_try_install_deb
()
{
__epm_split_by_pkg_type deb
"
$@
"
||
return
1
__epm_repack_rpm
$split_replaced_pkgs
||
fatal
__epm_repack_
to_
rpm
$split_replaced_pkgs
||
fatal
# TODO: move to install
docmd epm
install
$force
$nodeps
$repacked_rpms
...
...
@@ -272,10 +273,9 @@ epm_repack()
[
-n
"
$pkg_names
"
]
&&
warning
"Can't find
$pkg_names
"
[
-z
"
$pkg_files
"
]
&&
info
"Skip empty repack list"
&&
return
22
# TODO: если у нас rpm, а пакет - deb и наоборот
case
$PKGFORMAT
in
rpm
)
__epm_repack_rpm
$pkg_files
||
fatal
__epm_repack_
to_
rpm
$pkg_files
||
fatal
echo
echo
"Adapted packages:"
cp
$repacked_rpms
.
...
...
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