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
a7f1d75e
Commit
a7f1d75e
authored
Jan 27, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update packed files
parent
97fdc249
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
epm.sh
packed/epm.sh
+15
-3
serv.sh
packed/serv.sh
+1
-1
No files found.
packed/epm.sh
View file @
a7f1d75e
...
...
@@ -2253,6 +2253,12 @@ print_srcname()
print_name
$(
print_srcpkgname
"
$@
"
)
}
print_specname
()
{
# CHECKME: it is possible to have two or more specs in one package?
rpm
-qlp
"
$@
"
|
grep
"
\.
spec
\$
"
}
print_srcpkgname
()
{
query_package_field sourcerpm
"
$@
"
...
...
@@ -2289,9 +2295,10 @@ cat <<EOF
epm print version [from filename|for package] NN print only version of package name or package file
epm print release [from filename|for package] NN print only release of package name or package file
epm print field FF for package NN print field of the package
epm print pkgname from filename NN print package name for package file
epm print srcname from filename NN print source name for package file
epm print pkgname from filename NN print package name for
the
package file
epm print srcname from filename NN print source name for
the
package file
epm print srcpkgname from [filename|package] NN print source package name for the binary package file
epm print specname from filename NN print spec filename for the source package file
epm print binpkgfilelist in DIR for NN list binary package(s) filename(s) from DIR for the source package file
EOF
;;
...
...
@@ -2348,6 +2355,11 @@ EOF
[
-n
"
$1
"
]
||
fatal
"Arg is missed"
print_srcpkgname
"
$@
"
;;
"specname"
)
[
-n
"
$FNFLAG
"
]
||
[
-n
"
$PKFLAG
"
]
||
fatal
"print
$WHAT
works only for filename(s)"
[
-n
"
$1
"
]
||
fatal
"Arg is missed"
print_specname
"
$@
"
;;
"binpkgfilelist"
)
# TODO: rpm only
# TODO: replace get_binpkg_list
...
...
@@ -4539,7 +4551,7 @@ $(get_help HELPOPT)
print_version
()
{
echo
"EPM package manager version 1.
5.25
"
echo
"EPM package manager version 1.
6.0
"
echo
"Running on
$(
$DISTRVENDOR
)
('
$PMTYPE
' package manager uses '
$PKGFORMAT
' package format)"
echo
"Copyright (c) Etersoft 2012-2015"
echo
"This program may be freely redistributed under the terms of the GNU AGPLv3."
...
...
packed/serv.sh
View file @
a7f1d75e
...
...
@@ -1186,7 +1186,7 @@ $(get_help HELPOPT)
print_version
()
{
echo
"Service manager version 1.
5.25
"
echo
"Service manager version 1.
6.0
"
echo
"Running on
$(
$DISTRVENDOR
)
"
echo
"Copyright (c) Etersoft 2012, 2013"
echo
"This program may be freely redistributed under the terms of the GNU AGPLv3."
...
...
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