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
84638926
Commit
84638926
authored
Mar 19, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-repack: allow multidigital versions
parent
3d6e924c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
epm-repack
bin/epm-repack
+1
-1
No files found.
bin/epm-repack
View file @
84638926
...
@@ -224,7 +224,7 @@ __epm_repack_to_rpm()
...
@@ -224,7 +224,7 @@ __epm_repack_to_rpm()
VERSION
=
''
VERSION
=
''
# convert tarballs to tar (for alien)
# convert tarballs to tar (for alien)
if
!
echo
"
$pkg
"
|
grep
-q
"
\.
rpm"
&&
!
echo
"
$pkg
"
|
grep
-q
"
\.
deb"
;
then
if
!
echo
"
$pkg
"
|
grep
-q
"
\.
rpm"
&&
!
echo
"
$pkg
"
|
grep
-q
"
\.
deb"
;
then
VERSION
=
"
$(
echo
"
$alpkg
"
|
grep
-o
-P
"[-_.]([0-9])(
\.
[0-9])*"
|
head
-n1
|
sed
-e
's|^[-_.]||'
)
"
#"
VERSION
=
"
$(
echo
"
$alpkg
"
|
grep
-o
-P
"[-_.]([0-9])(
[0-9])*(
\.
[0-9])*"
|
head
-n1
|
sed
-e
's|^[-_.]||'
)
"
#"
if
[
-n
"
$VERSION
"
]
;
then
if
[
-n
"
$VERSION
"
]
;
then
PKGNAME
=
"
$(
echo
"
$alpkg
"
|
sed
-e
"s|[-_.]
$VERSION
.*||"
)
"
PKGNAME
=
"
$(
echo
"
$alpkg
"
|
sed
-e
"s|[-_.]
$VERSION
.*||"
)
"
pkgtype
=
"
$(
a
=
erc
type
$alpkg
)
"
pkgtype
=
"
$(
a
=
erc
type
$alpkg
)
"
...
...
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