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
2890839c
Commit
2890839c
authored
Oct 24, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-install: add warning for packages have repack rules
parent
e0bc024b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
epm-install
bin/epm-install
+6
-0
No files found.
bin/epm-install
View file @
2890839c
...
...
@@ -290,7 +290,12 @@ __epm_check_if_src_rpm()
done
}
__epm_check_if_needed_repack
()
{
local
pkgname
=
"
$(
epm print name from
"
$1
"
)
"
local
repackcode
=
"
$CONFIGDIR
/repack.d/
$pkgname
.sh"
[
-x
"
$repackcode
"
]
||
return
warning
"There is exists repack rules for
$pkgname
package. It is better install this package via epm --repack install or epm play."
}
epm_install_files
()
...
...
@@ -310,6 +315,7 @@ epm_install_files()
# do not using low-level for install by file path (FIXME: reasons?)
if
!
is_dirpath
"
$@
"
||
[
"
$(
get_package_type
"
$@
"
)
"
=
"rpm"
]
;
then
__epm_check_vendor
$@
__epm_check_if_needed_repack
$@
sudocmd rpm
-Uvh
$force
$noscripts
$nodeps
$@
&&
save_installed_packages
$@
&&
return
local
RES
=
$?
# TODO: check rpm result code and convert it to compatible format if possible
...
...
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