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
4d2de7bc
Commit
4d2de7bc
authored
Mar 31, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm print name using
parent
f8617af5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
epm-repack
bin/epm-repack
+1
-2
epm-repopkg
bin/epm-repopkg
+2
-2
No files found.
bin/epm-repack
View file @
4d2de7bc
...
...
@@ -26,8 +26,7 @@ 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
pkgname
=
"
$(
epm print name
for
package
"
$1
"
)
"
local
repackcode
=
"
$EPM_REPACK_SCRIPTS_DIR
/
$pkgname
.sh"
[
-s
"
$repackcode
"
]
||
return
warning
"There is repack rule for
$pkgname
package. It is better install this package via 'epm --repack install' or 'epm play'."
...
...
bin/epm-repopkg
View file @
4d2de7bc
...
...
@@ -69,7 +69,7 @@ __epm_repo_pkgdel_alt()
for
arch
in
$archlist
;
do
local
rd
=
"
$REPO_DIR
/
$arch
/RPMS.
$REPO_NAME
"
for
i
in
$rd
/
$1
*
;
do
[
"
$1
"
=
"
$(
epm print
pkgname from
$i
)
"
||
continue
[
"
$1
"
=
"
$(
epm print
name
for
package
$i
)
"
||
continue
rm
-v
$rd
/
$1
*
done
done
...
...
@@ -84,7 +84,7 @@ __epm_repo_pkgupdate_alt()
local dir
=
"
$1
"
shift
for
i
in
"
$@
"
;
do
pkg
=
"
$(
epm print
pkgname from
$i
)
"
||
fatal
pkg
=
"
$(
epm print
name
for
package
$i
)
"
||
fatal
__epm_repo_pkgdel_alt
"
$dir
"
$pkg
done
__epm_repo_pkgadd_alt
"
$dir
"
"
$@
"
...
...
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