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
5c69adee
Commit
5c69adee
authored
Aug 10, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move __epm_check_if_needed_repack to epm-repack
parent
1972d412
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
epm-install
bin/epm-install
+0
-9
epm-repack
bin/epm-repack
+11
-0
No files found.
bin/epm-install
View file @
5c69adee
...
@@ -290,15 +290,6 @@ __epm_check_if_src_rpm()
...
@@ -290,15 +290,6 @@ __epm_check_if_src_rpm()
done
done
}
}
# FIXME: move this hack to epm-repack
__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 repack rule for
$pkgname
package. It is better install this package via 'epm --repack install' or 'epm play'."
}
__epm_if_command_path
()
__epm_if_command_path
()
{
{
is_dirpath
"
$1
"
&&
rhas
"
$1
"
"bin/"
is_dirpath
"
$1
"
&&
rhas
"
$1
"
"bin/"
...
...
bin/epm-repack
View file @
5c69adee
...
@@ -20,6 +20,17 @@
...
@@ -20,6 +20,17 @@
load_helper epm-sh-altlinux
load_helper epm-sh-altlinux
load_helper epm-assure
load_helper epm-assure
__epm_check_if_needed_repack
()
{
# FIXME: use real way (for any archive)
# FIXME: from вроде не существует и не работает
local
pkgname
=
"
$(
epm print name from
"
$1
"
)
"
local
repackcode
=
"
$CONFIGDIR
/repack.d/
$pkgname
.sh"
[
-x
"
$repackcode
"
]
||
return
warning
"There is repack rule for
$pkgname
package. It is better install this package via 'epm --repack install' or 'epm play'."
}
# arg: rpm or deb
# arg: rpm or deb
# fills split_replaced_pkgs with packages of that type
# fills split_replaced_pkgs with packages of that type
__epm_split_by_pkg_type
()
__epm_split_by_pkg_type
()
...
...
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