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
0bf3d274
Commit
0bf3d274
authored
Apr 12, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack: use EPM <support@eepm.ru> packager and skip warning if a package packaged by one
parent
87b3d6ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
epm-repack
bin/epm-repack
+5
-1
epm-repack-rpm
bin/epm-repack-rpm
+1
-1
No files found.
bin/epm-repack
View file @
0bf3d274
...
...
@@ -27,6 +27,10 @@ __epm_have_repack_rule()
# skip repacking on non ALT systems
[
"
$BASEDISTRNAME
"
=
"alt"
]
||
return
1
local
packager
=
"
$(
epm print field Packager
for
"
$1
"
2>/dev/null
)
"
[
"
$packager
"
=
"EPM <support@etersoft.ru>"
]
&&
return
1
[
"
$packager
"
=
"EPM <support@eepm.ru>"
]
&&
return
1
# FIXME: use real way (for any archive)
local
pkgname
=
"
$(
epm print name
for
package
"
$1
"
)
"
local
repackcode
=
"
$EPM_REPACK_SCRIPTS_DIR
/
$pkgname
.sh"
...
...
@@ -37,7 +41,7 @@ __epm_check_if_needed_repack()
{
__epm_have_repack_rule
"
$@
"
||
return
local
pkgname
=
"
$(
epm print name
for
package
"
$1
"
)
"
warning
"There is repack rule for '
$pkgname
' package. It is better install this package via 'epm
--repack install
' or 'epm play'."
warning
"There is repack rule for '
$pkgname
' package. It is better install this package via 'epm
install --repack
' or 'epm play'."
}
# arg: rpm or deb
...
...
bin/epm-repack-rpm
View file @
0bf3d274
...
...
@@ -88,7 +88,7 @@ __create_rpmmacros()
%_topdir
$HOME
/RPM
%_tmppath
$TMPDIR
%packager EPM <support@e
tersoft
.ru>
%packager EPM <support@e
epm
.ru>
%_vendor EEPM
%_gpg_name support@etersoft.ru
...
...
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