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
8cde6d5c
Commit
8cde6d5c
authored
3 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pass name/version to distro_info
parent
5e9c477a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
epm-sh-functions
bin/epm-sh-functions
+6
-4
No files found.
bin/epm-sh-functions
View file @
8cde6d5c
...
...
@@ -98,9 +98,11 @@ echon()
set_target_pkg_env
()
{
[
-n
"
$DISTRNAME
"
]
||
fatal
"Missing DISTRNAME in set_target_pkg_env."
PKGFORMAT
=
$(
$DISTRVENDOR
-p
"
$DISTRNAME
"
)
PKGVENDOR
=
$(
$DISTRVENDOR
-s
"
$DISTRNAME
"
)
RPMVENDOR
=
$(
$DISTRVENDOR
-n
"
$DISTRNAME
"
)
local
ver
=
"
$DISTRVERSION
"
[
-n
"
$ver
"
]
&&
ver
=
"/
$ver
"
PKGFORMAT
=
$(
$DISTRVENDOR
-p
"
$DISTRNAME$ver
"
)
PKGVENDOR
=
$(
$DISTRVENDOR
-s
"
$DISTRNAME$ver
"
)
RPMVENDOR
=
$(
$DISTRVENDOR
-n
"
$DISTRNAME$ver
"
)
}
# Print command line and run command line
...
...
@@ -593,7 +595,7 @@ if [ -n "$FORCEPM" ] ; then
return
fi
PMTYPE
=
"
$(
$DISTRVENDOR
-g
$DISTRNAME
)
"
PMTYPE
=
"
$(
$DISTRVENDOR
-g
$DISTRNAME
/
$DISTRVERSION
)
"
}
is_active_systemd
()
...
...
This diff is collapsed.
Click to expand it.
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